diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-11-12 22:27:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-11-12 22:27:35 +0000 |
commit | 226271d3c05cf60c66c65b2492fdd12418f4f616 (patch) | |
tree | bff9a280848c5f2d73996962f3979584f79806c0 /gdb/config | |
parent | ae948b86fe3cba210a95dd78fd72de98ec02266d (diff) | |
download | gdb-226271d3c05cf60c66c65b2492fdd12418f4f616.zip gdb-226271d3c05cf60c66c65b2492fdd12418f4f616.tar.gz gdb-226271d3c05cf60c66c65b2492fdd12418f4f616.tar.bz2 |
* i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally.
* i387-nat.c, i387-tdep.c: Unconditionally include "i386-tdep.h".
* config/i386/tm-i386.h (FPU_REG_RAW_SIZE): Removed.
(SIZEOF_FPU_REGS): Don't use FPU_REG_RAW_SIZE here.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/tm-i386.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h index 80e90c0e..7661bd8 100644 --- a/gdb/config/i386/tm-i386.h +++ b/gdb/config/i386/tm-i386.h @@ -176,8 +176,6 @@ extern CORE_ADDR i386_saved_pc_after_call (struct frame_info *frame); #define IS_FP_REGNUM(n) (FP0_REGNUM <= (n) && (n) <= FP7_REGNUM) #define IS_SSE_REGNUM(n) (XMM0_REGNUM <= (n) && (n) <= XMM7_REGNUM) -#define FPU_REG_RAW_SIZE (10) - /* Return the name of register REG. */ #define REGISTER_NAME(reg) i386_register_name ((reg)) @@ -203,7 +201,7 @@ extern int i386_dwarf_reg_to_regnum (int reg); file, so summing up the sizes of those portions actually present yields REGISTER_BYTES. */ #define SIZEOF_GREGS (NUM_GREGS * 4) -#define SIZEOF_FPU_REGS (8 * FPU_REG_RAW_SIZE) +#define SIZEOF_FPU_REGS (8 * 10) #define SIZEOF_FPU_CTRL_REGS \ ((LAST_FPU_CTRL_REGNUM - FIRST_FPU_CTRL_REGNUM + 1) * 4) #define SIZEOF_SSE_REGS (8 * 16 + 4) |