diff options
Diffstat (limited to 'gdb/amd64bsd-nat.c')
-rw-r--r-- | gdb/amd64bsd-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64bsd-nat.c b/gdb/amd64bsd-nat.c index 4c7c04a881d..777fd690b39 100644 --- a/gdb/amd64bsd-nat.c +++ b/gdb/amd64bsd-nat.c @@ -98,7 +98,7 @@ store_inferior_registers (int regnum) (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) perror_with_name ("Couldn't get floating point status"); - amd64_fill_fxsave ((char *) &fpregs, regnum); + amd64_collect_fxsave (current_regcache, regnum, &fpregs); if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid), (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) |