* i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add
[deliverable/binutils-gdb.git] / gdb / amd64fbsd-nat.c
index ed2d39bb742f4650f89ab720a01ed26ffdd95eab..9317108f7feab88471709d255056d9bb4e59c612 100644 (file)
@@ -129,7 +129,7 @@ fill_gregset (gregset_t *gregsetp, int regnum)
 void
 supply_fpregset (fpregset_t *fpregsetp)
 {
-  x86_64_supply_fxsave ((const char *) fpregsetp, -1);
+  x86_64_supply_fxsave (current_regcache, -1, fpregsetp);
 }
 
 /* Fill register REGNUM (if it is a floating-point register) in
@@ -169,7 +169,7 @@ fetch_inferior_registers (int regnum)
                  (PTRACE_ARG3_TYPE) &fpregs, 0) == -1)
        perror_with_name ("Couldn't get floating point status");
 
-      x86_64_supply_fxsave ((const char *) &fpregs, -1);
+      x86_64_supply_fxsave (current_regcache, -1, &fpregs);
     }
 }
 
This page took 0.026113 seconds and 4 git commands to generate.