aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64bsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64bsd-nat.c')
-rw-r--r--gdb/amd64bsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64bsd-nat.c b/gdb/amd64bsd-nat.c
index 4c7c04a..777fd69 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)