diff options
Diffstat (limited to 'gdb/i386gnu-nat.c')
-rw-r--r-- | gdb/i386gnu-nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/i386gnu-nat.c b/gdb/i386gnu-nat.c index 4623e11..3a6c797 100644 --- a/gdb/i386gnu-nat.c +++ b/gdb/i386gnu-nat.c @@ -89,7 +89,7 @@ fetch_fpregs (struct proc *thread) } /* Supply the floating-point registers. */ - i387_supply_fsave (state.hw_state); + i387_supply_fsave (state.hw_state, -1); } #ifdef HAVE_SYS_PROCFS_H @@ -106,7 +106,7 @@ supply_gregset (gdb_gregset_t *gregs) void supply_fpregset (gdb_fpregset_t *fpregs) { - i387_supply_fsave ((char *) fpregs); + i387_supply_fsave ((const char *) fpregs, -1); } #endif @@ -256,7 +256,7 @@ gnu_store_registers (int regno) } #define fill(state, regno) \ - memcpy (REG_ADDR(state, regno), &deprecated_registers[REGISTER_BYTE (regno)], \ + memcpy (REG_ADDR(state, regno), &deprecated_registers[DEPRECATED_REGISTER_BYTE (regno)], \ REGISTER_RAW_SIZE (regno)) if (regno == -1) |