From ad343a427754692e45f6f39ac4c96e99f8ea900f 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/dcache.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gdb/dcache.h') diff --git a/gdb/dcache.h b/gdb/dcache.h index 928173d63b6..1615fcebbc9 100644 --- a/gdb/dcache.h +++ b/gdb/dcache.h @@ -27,12 +27,15 @@ typedef int (*memxferfunc) (CORE_ADDR memaddr, char *myaddr, int len); typedef struct dcache_struct DCACHE; -/* Flush DCACHE. */ -void dcache_flush (DCACHE * dcache); +/* Invalidate DCACHE. */ +void dcache_invd (DCACHE * dcache); /* Initialize DCACHE. */ DCACHE *dcache_init (memxferfunc reading, memxferfunc writing); +/* Free a DCACHE */ +void dcache_free (DCACHE *); + /* Simple to call from _xfer_memory */ int dcache_xfer_memory (DCACHE * cache, CORE_ADDR mem, char *my, int len, -- cgit v1.2.1