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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c
index ce85d09..01861f0 100644
--- a/gdb/remote-sds.c
+++ b/gdb/remote-sds.c
@@ -482,7 +482,8 @@ sds_fetch_registers (int regno)
/* (should warn about reply too short) */
for (i = 0; i < NUM_REGS; i++)
- supply_register (i, &regs[DEPRECATED_REGISTER_BYTE (i)]);
+ regcache_raw_supply (current_regcache, i,
+ &regs[DEPRECATED_REGISTER_BYTE (i)]);
}
/* Prepare to store registers. Since we may send them all, we have to