aboutsummaryrefslogtreecommitdiff
path: root/gdb/infptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index f40e6e9..0cf3378 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -375,7 +375,7 @@ fetch_register (int regno)
if (CANNOT_FETCH_REGISTER (regno))
{
memset (buf, '\0', DEPRECATED_REGISTER_RAW_SIZE (regno)); /* Supply zeroes */
- supply_register (regno, buf);
+ regcache_raw_supply (current_regcache, regno, buf);
return;
}
@@ -399,7 +399,7 @@ fetch_register (int regno)
perror_with_name (mess);
}
}
- supply_register (regno, buf);
+ regcache_raw_supply (current_regcache, regno, buf);
}