96297dabb3
FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM, LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM, IS_FP_REGNUM, IS_SSE_REGNUM): Removed. (FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS. (SIZEOF_FPU_CTRL_REGS): Hardcode value. * i386-tdep.h (struct gdbarch_tdep): Change such that it contains a single member `num_xmm_regs'. (FPC_REGNUM): New macro. (FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM, LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM, LAST_FPU_CTRL_REGNUM): Removed. (FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM, MXCSR_REGNUM): Define unconditionally. Change macros to match the comment describing the register layout. (FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros. (FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros. (IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete, unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and SSE_REGNUM_P). (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make obsolete, unconditionally define in terms of FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM. * i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs' member of `struct gdbarch_tdep'. * x86-64-tdep.c (i386_gdbarch_init): Change initialization of `struct gdbarch_tdep'. * i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and FOOFF_REGNUM. Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM. Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM. |
||
---|---|---|
.. | ||
a29k | ||
alpha | ||
arc | ||
arm | ||
cris | ||
d10v | ||
d30v | ||
djgpp | ||
fr30 | ||
h8300 | ||
h8500 | ||
i386 | ||
i960 | ||
ia64 | ||
m32r | ||
m68hc11 | ||
m68k | ||
m88k | ||
mcore | ||
mips | ||
mn10200 | ||
mn10300 | ||
none | ||
ns32k | ||
pa | ||
powerpc | ||
romp | ||
rs6000 | ||
s390 | ||
sh | ||
sparc | ||
v850 | ||
vax | ||
xstormy16 | ||
z8k | ||
nm-gnu.h | ||
nm-linux.h | ||
nm-lynx.h | ||
nm-m3.h | ||
nm-nbsd.h | ||
nm-sysv4.h | ||
tm-linux.h | ||
tm-lynx.h | ||
tm-nbsd.h | ||
tm-sunos.h | ||
tm-sysv4.h | ||
tm-vxworks.h | ||
xm-aix4.h | ||
xm-lynx.h | ||
xm-mpw.h | ||
xm-nbsd.h | ||
xm-sysv4.h |