aboutsummaryrefslogtreecommitdiff
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
commit0485f6ad303a1c0cbc03d83af4fa380987c0fc38 (patch)
tree65e98dbd548129b5dd80b6fc586ce556b337bfa1 /gdb/x86-64-tdep.h
parentc77161335bc01d9717915314b1249bc7d1986084 (diff)
downloadgdb-0485f6ad303a1c0cbc03d83af4fa380987c0fc38.zip
gdb-0485f6ad303a1c0cbc03d83af4fa380987c0fc38.tar.gz
gdb-0485f6ad303a1c0cbc03d83af4fa380987c0fc38.tar.bz2
* 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 608219c..76bb3d3 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. */