diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-08-23 08:56:45 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-08-23 08:56:45 +0000 |
commit | ed504bdf4fa2bb56dc2843d530bb8bb8f46b81cf (patch) | |
tree | 5773e893e889601215952dc106e2d98680252a73 /gdb/i387-tdep.h | |
parent | 95a745092bfca86fbe98c06cd05c6f03c7de037a (diff) | |
download | gdb-ed504bdf4fa2bb56dc2843d530bb8bb8f46b81cf.zip gdb-ed504bdf4fa2bb56dc2843d530bb8bb8f46b81cf.tar.gz gdb-ed504bdf4fa2bb56dc2843d530bb8bb8f46b81cf.tar.bz2 |
* go32-nat.c (fetch_register): Call i387_supply_fsave instead of
i387_supply_register.
(go32_fetch_registers): Adjust call to i387_supply_fsave.
* i386nbsd-tdep.c (fetch_core_registers): Adjust call to
i387_supply_fsave.
(fetch_elfcore_registers): Adjust call to i387_supply_fsave and
i387_supply_fxsave.
* i386obsd-tdep.c (fetch_core_registers): Adjust call to
i387_supply_fsave.
* i386bsd-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
(fetch_inferior_registers): Remove extraneous whitespace. Adjust
call to i387_supply_fxsave. Call i387_supply_fsave instead of
supply_fpregset.
(store_inferior_registers): Remove extraneous whitespace. Call
i387_fill_fsave instead of fill_fpregset.
* i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave.
(supply_fpregset): Likewise.
* i386v4-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
* i386-interix-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
* i386-linux-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
(supply_fpxregset): Adjust call to i387_adjust_fxsave.
* i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to
i387supply_fsave and i387_supply_fxsave.
* i387-tdep.c (i387_supply_fsave): Add `regnum' argument.
Incorporate code from `i387_supply_register.
(i387_supply_register): Remove.
(i387_supply_fxsave): Add `regnum' argument.
Update comments.
* i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust
prototype.
(i387_supply_register): remove prototype.
Update comments.
Diffstat (limited to 'gdb/i387-tdep.h')
-rw-r--r-- | gdb/i387-tdep.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h index df5c77b..84c31ec 100644 --- a/gdb/i387-tdep.h +++ b/gdb/i387-tdep.h @@ -45,33 +45,27 @@ extern void i387_register_to_value (struct frame_info *frame, int regnum, extern void i387_value_to_register (struct frame_info *frame, int regnum, struct type *type, const void *from); -/* Fill register REGNUM in GDB's register array with the appropriate +/* 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. */ -extern void i387_supply_register (int regnum, char *fsave); - -/* Fill GDB's register array with the floating-point register values - in *FSAVE. This function masks off any of the reserved - bits in *FSAVE. */ - -extern void i387_supply_fsave (char *fsave); +extern void i387_supply_fsave (const char *fsave, int regnum); /* Fill register REGNUM (if it is a floating-point register) in *FSAVE - with the value in GDB's register array. If REGNUM is -1, do this + 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 *FSAVE. */ extern void i387_fill_fsave (char *fsave, int regnum); -/* 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. This function + masks off any of the reserved bits in *FXSAVE. */ -extern void i387_supply_fxsave (char *fxsave); +extern void i387_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. */ |