* i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add
[deliverable/binutils-gdb.git] / gdb / i386gnu-nat.c
index 3a6c7978162787218c6e100541e7d5085200a2d1..dd9e32481dce0b95aba2780eb5faf4b578dfd398 100644 (file)
@@ -89,7 +89,7 @@ fetch_fpregs (struct proc *thread)
     }
 
   /* Supply the floating-point registers.  */
-  i387_supply_fsave (state.hw_state, -1);
+  i387_supply_fsave (current_regcache, -1, state.hw_state);
 }
 
 #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 ((const char *) fpregs, -1);
+  i387_supply_fsave (current_regcache, -1, fpregs);
 }
 #endif
 
This page took 0.032434 seconds and 4 git commands to generate.