aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sds.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-sds.c')
-rw-r--r--gdb/remote-sds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c
index ce6f5f6..582d46b 100644
--- a/gdb/remote-sds.c
+++ b/gdb/remote-sds.c
@@ -206,7 +206,7 @@ device is attached to the remote system (e.g. /dev/ttya).");
if (!sds_dcache)
sds_dcache = dcache_init (sds_read_bytes, sds_write_bytes);
else
- dcache_flush (sds_dcache);
+ dcache_invd (sds_dcache);
sds_desc = SERIAL_OPEN (name);
if (!sds_desc)
@@ -358,7 +358,7 @@ sds_resume (int pid, int step, enum target_signal siggnal)
{
unsigned char buf[PBUFSIZ];
- dcache_flush (sds_dcache);
+ dcache_invd (sds_dcache);
last_sent_signal = siggnal;
last_sent_step = step;