aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64bsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-03-04 10:35:57 +0000
committerMark Kettenis <kettenis@gnu.org>2004-03-04 10:35:57 +0000
commit722d18c22c7276b6829fa674782cd7149bc8ffcf (patch)
treece71ff6a35d4e883f49bb61e617ba6284fefd009 /gdb/amd64bsd-nat.c
parent9e08c470e808412bb71ed7d798e4acb811ac31d4 (diff)
downloadgdb-722d18c22c7276b6829fa674782cd7149bc8ffcf.zip
gdb-722d18c22c7276b6829fa674782cd7149bc8ffcf.tar.gz
gdb-722d18c22c7276b6829fa674782cd7149bc8ffcf.tar.bz2
* amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
instead of amd64_fill_fxsave. * amd64bsd-nat.c (store_inferior_registers): Likewise. * amd64fbsd-nat.c (fill_fpregset): Likewise.
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)