summaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-08-23 13:58:18 +0000
committerMark Kettenis <kettenis@gnu.org>2003-08-23 13:58:18 +0000
commitf53fec75aa1020706eafdaac7377d36b8b53c255 (patch)
tree0c1bca1773736c71f69e0d81a753d9c7b266b86a /gdb/x86-64-tdep.h
parentfab3cf6f1bcfb6bcc2b5fbab21aee7eaa8bb3c7d (diff)
downloadgdb-f53fec75aa1020706eafdaac7377d36b8b53c255.tar.gz
* x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument.
Update comments. * x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype. Update comments. * x86-64-linux-tdep.c (fetch_core_registers): Adjust call to x86_64_supply_fxsave. * x86-64-linux-nat.c (supply_fpregset): Adjust call to x86_64_supply_fxsave. * amd64fbsd-nat.c (supply_fpregset): Adjust call to x86_64_supply_fxsave.
Diffstat (limited to 'gdb/x86-64-tdep.h')
-rw-r--r--gdb/x86-64-tdep.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/x86-64-tdep.h b/gdb/x86-64-tdep.h
index 608219c578f..76bb3d32564 100644
--- a/gdb/x86-64-tdep.h
+++ b/gdb/x86-64-tdep.h
@@ -48,14 +48,15 @@ struct frame_info;
void x86_64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch);
-/* Fill GDB's register array with the floating-point and SSE register
- values in *FXSAVE. This function masks off any of the reserved
- bits in *FXSAVE. */
+/* Fill register REGNUM in GDB's register cache with the appropriate
+ floating-point or SSE register value from *FXSAVE. If REGNUM is
+ -1, do this for all registers. This function masks off any of the
+ reserved bits in *FXSAVE. */
-void x86_64_supply_fxsave (char *fxsave);
+void x86_64_supply_fxsave (const char *fxsave, int regnum);
/* Fill register REGNUM (if it is a floating-point or SSE register) in
- *FXSAVE with the value in GDB's register array. If REGNUM is -1, do
+ *FXSAVE with the value in GDB's register cache. If REGNUM is -1, do
this for all registers. This function doesn't touch any of the
reserved bits in *FXSAVE. */