Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM, | Mark Kettenis | 2001-12-27 | 1 | -18/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | * i387-nat.c (i387_fill_fxsave): Change type of ``val'' from char | Kevin Buettner | 2001-12-13 | 1 | -2/+2 |
| | | | | | | to short so that we don't memcpy() beyond the end of this buffer. Also, change shift value used in computing val to account for the fact that only eight bits are used. | ||||
* | * i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally. | Mark Kettenis | 2001-11-12 | 1 | -3/+0 |
| | | | | | | * 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. | ||||
* | * i386-tdep.h: New file. | Jiri Smid | 2001-09-21 | 1 | -0/+4 |
| | | | | | * i387-nat.c: Include i386-tdep.h when multiarch. * i387-tdep.c: Ditto. | ||||
* | (Changes from Kevin Buettner, with minor update by Don Howard.) | Don Howard | 2001-04-27 | 1 | -14/+16 |
| | | | | | | | * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix typos in which hexadecimal constants were really intended to be binary constants. (i387_tag): Swap logic regarding zero vs non-zero exponents. | ||||
* | Create new file regcache.h. Update all uses. | Andrew Cagney | 2001-03-01 | 1 | -0/+1 |
| | |||||
* | * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno | Mark Kettenis | 2001-02-17 | 1 | -32/+42 |
| | | | | | | | | | consistently for parameter names. Fix comments accordingly. (i387_supply_register): New function. (i387_supply_fsave): Implement using i387_supply_register. * i387-nat.h: Use regnum instead of regno consistently for parameter names. Fix comments accordingly. (i387_supply_register): New prototype. | ||||
* | * i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern. | Mark Kettenis | 2000-08-10 | 1 | -2/+209 |
| | | | | | | | | (i387_supply_fxsave, i387_fill_fxsave): New prototypes. * i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'. (fxsave_offset): New variable. (FXSAVE_ADDR): New macro. (i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions. | ||||
* | * i387-nat.h, i387-nat.c: New files. | Mark Kettenis | 2000-05-23 | 1 | -0/+125 |