summaryrefslogtreecommitdiff
path: root/gdb/wince.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/wince.c')
-rw-r--r--gdb/wince.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/wince.c b/gdb/wince.c
index 02df7a6b025..e8361bfe960 100644
--- a/gdb/wince.c
+++ b/gdb/wince.c
@@ -1119,7 +1119,8 @@ do_child_fetch_inferior_registers (int r)
{
if (r >= 0)
{
- supply_register (r, (char *) regptr (&current_thread->context, r));
+ regcache_raw_supply (current_regcache, r,
+ (char *) regptr (&current_thread->context, r));
}
else
{