aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r--gdb/go32-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index 8568add..96472b3 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -466,7 +466,8 @@ static void
fetch_register (int regno)
{
if (regno < FP0_REGNUM)
- supply_register (regno, (char *) &a_tss + regno_mapping[regno].tss_ofs);
+ regcache_raw_supply (current_regcache, regno,
+ (char *) &a_tss + regno_mapping[regno].tss_ofs);
else if (i386_fp_regnum_p (regno) || i386_fpc_regnum_p (regno))
i387_supply_fsave (current_regcache, regno, &npx);
else