From e99586d56aa63911e842a974bd8eb7ed20da7af0 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Fri, 18 Aug 2000 22:52:23 +0000 Subject: * MAINTAINERS: Add myself as dcache.c maintainer. * remote-nindy.c (nindy_load): Invalidate dcache. * dcache.c (dcache_invd): Renamed from dcache_flush. The term flush with respect to caches usually implies that data will be written to memory. (dcache_init, dcache_xfer_memory): Updated. * monitor.c (flush_monitor_dcache, monitor_resume, monitor_load): Updated. * ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated. * remote-bug.c (bug_load, bug_resume): Updated. * remote-nindy.c (nindy_open, nindy_resume): Updated. * remote-sds.c (sds_open, sds_resume): Updated. * remote-utils.c (gr_open): Updated. * remote.c (remote_open_1, remote_resume, remote_async_resume, remote_cisco_open): Updated. * wince.c (child_create_inferior, child_resume): Updated. * monitor.c (monitor_open): Free dcache before creating a new one. * dcache.c (dcache_free): New function. * dcache.h (dcache_free): New prototype. ------------------------------------------------------------------- --- gdb/remote-bug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/remote-bug.c') diff --git a/gdb/remote-bug.c b/gdb/remote-bug.c index 7d34615..aac148e 100644 --- a/gdb/remote-bug.c +++ b/gdb/remote-bug.c @@ -119,7 +119,7 @@ bug_load (char *args, int fromtty) sr_check_open (); - dcache_flush (gr_get_dcache ()); + dcache_invd (gr_get_dcache ()); inferior_pid = 0; abfd = bfd_openr (args, 0); if (!abfd) @@ -242,7 +242,7 @@ bug_open (char *args, int from_tty) void bug_resume (int pid, int step, enum target_signal sig) { - dcache_flush (gr_get_dcache ()); + dcache_invd (gr_get_dcache ()); if (step) { -- cgit v1.1