diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-09-28 13:35:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-09-28 13:35:44 +0000 |
commit | 41d041d67127783bcb817154c71354e26dbef6d0 (patch) | |
tree | 331492d77b4f465feefbc0a391808917cdbd6329 /gdb/i387-tdep.h | |
parent | 84138122ac468000c9ec8c47b8a5e342d6a57d50 (diff) | |
download | fsf-binutils-gdb-41d041d67127783bcb817154c71354e26dbef6d0.zip fsf-binutils-gdb-41d041d67127783bcb817154c71354e26dbef6d0.tar.gz fsf-binutils-gdb-41d041d67127783bcb817154c71354e26dbef6d0.tar.bz2 |
* i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add
regcache argument and reverse the order of the other two
arguments. Remove local regcache variable. Determine
architecture from REGCACHE. Update comments.
* x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and
reverse the order of the other two arguments. Remove local
regcache variable. Determine architecture from REGCACHE. Update
comments.
* i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust
prototypes. Update comments.
* x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust
comment.
* amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers):
Update.
* go32-nat.c (fetch_register, go32_fetch_registers): Update.
* i386-interix-nat.c (supply_fpregset): Update.
* i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update.
* i386-nto-tdep.c (i386nto_supply_fpregset): Update.
* i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update.
* i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update.
* i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers):
Update.
* i386obsd-tdep.c (fetch_core_registers): Update.
* i386v4-nat.c (supply_fpregset): Update.
* x86-64-linux-nat.c (supply_fpregset): Update.
* x86-64-linux-tdep.c (fetch_core_registers): Update.
Diffstat (limited to 'gdb/i387-tdep.h')
-rw-r--r-- | gdb/i387-tdep.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h index 41e695b..377e17a 100644 --- a/gdb/i387-tdep.h +++ b/gdb/i387-tdep.h @@ -23,9 +23,10 @@ #define I387_TDEP_H struct gdbarch; -struct ui_file; struct frame_info; +struct regcache; struct type; +struct ui_file; /* Because the number of general-purpose registers is different for AMD64, the floating-point registers and SSE registers get shifted. @@ -73,11 +74,12 @@ extern void i387_value_to_register (struct frame_info *frame, int regnum, #define I387_SIZEOF_FSAVE 108 #define I387_SIZEOF_FXSAVE 512 -/* Fill register REGNUM in GDB's register cache with the appropriate - value from *FSAVE. This function masks off any of the reserved - bits in *FSAVE. */ +/* Fill register REGNUM in REGCACHE with the appropriate value from + *FSAVE. This function masks off any of the reserved bits in + *FSAVE. */ -extern void i387_supply_fsave (const void *fsave, int regnum); +extern void i387_supply_fsave (struct regcache *regcache, int regnum, + const void *fsave); /* Fill register REGNUM (if it is a floating-point register) in *FSAVE with the value in GDB's register cache. If REGNUM is -1, do this @@ -86,11 +88,12 @@ extern void i387_supply_fsave (const void *fsave, int regnum); extern void i387_fill_fsave (void *fsave, int regnum); -/* Fill register REGNUM in GDB's register cache with the appropriate +/* Fill register REGNUM in REGCACHE with the appropriate floating-point or SSE register value from *FXSAVE. This function masks off any of the reserved bits in *FXSAVE. */ -extern void i387_supply_fxsave (const void *fxsave, int regnum); +extern void i387_supply_fxsave (struct regcache *regcache, int regnum, + const void *fxsave); /* Fill register REGNUM (if it is a floating-point or SSE register) in *FXSAVE with the value in GDB's register cache. If REGNUM is -1, do |