aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386v-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-08 16:52:37 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-08 16:52:37 +0000
commit23a3445934a40c226954813718d1345a30f4dba0 (patch)
treeb76711367efe3847ea0dda2b8665c591a8ce4d12 /gdb/i386v-nat.c
parentd709c0200723c8e71df58cc6df48c2116bb5e733 (diff)
downloadgdb-23a3445934a40c226954813718d1345a30f4dba0.zip
gdb-23a3445934a40c226954813718d1345a30f4dba0.tar.gz
gdb-23a3445934a40c226954813718d1345a30f4dba0.tar.bz2
2002-11-06 Andrew Cagney <cagney@redhat.com>
* i386-tdep.c (i386_mmx_regnum_p): Rename mmx_regnum_p. Update all callers. (i386_fp_regnum_p): New function. Use instead of FP_REGNUM_P. (i386_fpc_regnum_p): New function. Use instead of FPC_REGNUM_P. (i386_sse_regnum_p): New function. Use instead of SSE_REGNUM_P. (i386_mxcsr_regnum_p): new function. Use instead of MXCSR_REGNUM_P. * i386-tdep.h (SSE_REGNUM_P): Delete macro. (i386_sse_regnum_p): Declare. (i386_mxcsr_regnum_p): Declare. (FP_REGNUM_P, FPC_REGNUM_P): Delete macros. (i386_fp_regnum_p, i386_fpc_regnum_p): Declare. (IS_FP_REGNUM): Update definition. (IS_FPU_CTRL_REGNUM): Update definition.. (IS_SSE_REGNUM): Update definition.. * i386v-nat.c (register_u_addr): Update. * go32-nat.c (fetch_register): Update. (store_register): Update.
Diffstat (limited to 'gdb/i386v-nat.c')
-rw-r--r--gdb/i386v-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386v-nat.c b/gdb/i386v-nat.c
index 78152e4..a6dc505 100644
--- a/gdb/i386v-nat.c
+++ b/gdb/i386v-nat.c
@@ -85,7 +85,7 @@ register_u_addr (CORE_ADDR blockend, int regnum)
struct user u;
CORE_ADDR fpstate;
- if (FP_REGNUM_P (regnum))
+ if (i386_fp_regnum_p (regnum))
{
#ifdef KSTKSZ /* SCO, and others? */
blockend += 4 * (SS + 1) - KSTKSZ;