diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2000-08-18 22:52:23 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 2000-08-18 22:52:23 +0000 |
commit | e99586d56aa63911e842a974bd8eb7ed20da7af0 (patch) | |
tree | a238bf79710b18dfe2b5a0e9927666591f7d8134 /gdb/remote.c | |
parent | 3f0845370f8c14bfd7c196a2d9c2451c2789e355 (diff) | |
download | gdb-e99586d56aa63911e842a974bd8eb7ed20da7af0.zip gdb-e99586d56aa63911e842a974bd8eb7ed20da7af0.tar.gz gdb-e99586d56aa63911e842a974bd8eb7ed20da7af0.tar.bz2 |
* 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.
-------------------------------------------------------------------
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 557ab46..66a14fa 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -2060,7 +2060,7 @@ serial device is attached to the remote system\n\ if (!remote_dcache) remote_dcache = dcache_init (remote_read_bytes, remote_write_bytes); else - dcache_flush (remote_dcache); + dcache_invd (remote_dcache); remote_desc = SERIAL_OPEN (name); if (!remote_desc) @@ -2309,7 +2309,7 @@ remote_resume (int pid, int step, enum target_signal siggnal) else set_thread (pid, 0); /* run this thread */ - dcache_flush (remote_dcache); + dcache_invd (remote_dcache); last_sent_signal = siggnal; last_sent_step = step; @@ -2343,7 +2343,7 @@ remote_async_resume (int pid, int step, enum target_signal siggnal) else set_thread (pid, 0); /* run this thread */ - dcache_flush (remote_dcache); + dcache_invd (remote_dcache); last_sent_signal = siggnal; last_sent_step = step; @@ -5040,7 +5040,7 @@ device is attached to the remote system (e.g. host:port)."); if (!remote_dcache) remote_dcache = dcache_init (remote_read_bytes, remote_write_bytes); else - dcache_flush (remote_dcache); + dcache_invd (remote_dcache); remote_desc = SERIAL_OPEN (name); if (!remote_desc) |