projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2004-02-15 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git]
/
gdb
/
i387-tdep.h
diff --git
a/gdb/i387-tdep.h
b/gdb/i387-tdep.h
index 41e695b30db60ffb3428f54bff7f25d3402be47c..fa94a486d818f123ba7428d061adafba81b9df69 100644
(file)
--- a/
gdb/i387-tdep.h
+++ b/
gdb/i387-tdep.h
@@
-23,9
+23,10
@@
#define I387_TDEP_H
struct gdbarch;
#define I387_TDEP_H
struct gdbarch;
-struct ui_file;
struct frame_info;
struct frame_info;
+struct regcache;
struct type;
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.
/* 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
#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
/* 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);
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. */
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
/* 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
@@
-99,4
+102,9
@@
extern void i387_supply_fxsave (const void *fxsave, int regnum);
extern void i387_fill_fxsave (void *fxsave, int regnum);
extern void i387_fill_fxsave (void *fxsave, int regnum);
+/* Prepare the FPU stack in REGCACHE for a function return. */
+
+extern void i387_return_value (struct gdbarch *gdbarch,
+ struct regcache *regcache);
+
#endif /* i387-tdep.h */
#endif /* i387-tdep.h */
This page took
0.02438 seconds
and
4
git commands to generate.