diff options
Diffstat (limited to 'gdb/i386nbsd-tdep.c')
-rw-r--r-- | gdb/i386nbsd-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/i386nbsd-tdep.c b/gdb/i386nbsd-tdep.c index 9e8d973..dae0a1d 100644 --- a/gdb/i386nbsd-tdep.c +++ b/gdb/i386nbsd-tdep.c @@ -89,7 +89,7 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which, i386nbsd_supply_reg (regs, -1); /* Floating point registers. */ - i387_supply_fsave (fsave, -1); + i387_supply_fsave (current_regcache, -1, fsave); } static void @@ -109,7 +109,7 @@ fetch_elfcore_registers (char *core_reg_sect, unsigned core_reg_size, if (core_reg_size != 108) warning ("Wrong size FP register set in core file."); else - i387_supply_fsave (core_reg_sect, -1); + i387_supply_fsave (current_regcache, -1, core_reg_sect); break; case 3: /* "Extended" floating point registers. This is gdb-speak @@ -117,7 +117,7 @@ fetch_elfcore_registers (char *core_reg_sect, unsigned core_reg_size, if (core_reg_size != 512) warning ("Wrong size XMM register set in core file."); else - i387_supply_fxsave (core_reg_sect, -1); + i387_supply_fxsave (current_regcache, -1, core_reg_sect); break; default: |