* i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly
authorMark Kettenis <kettenis@gnu.org>
Tue, 20 Aug 2002 17:59:50 +0000 (17:59 +0000)
committerMark Kettenis <kettenis@gnu.org>
Tue, 20 Aug 2002 17:59:50 +0000 (17:59 +0000)
flag the general-purpose registers as floating-point on targets
that don't support the floating-point registers.

gdb/ChangeLog
gdb/i386-tdep.h

index 5027020a498834e83204420a48ad15ba8a5ce727..fedfe81fbdabff57d6eac56536f143daab290deb 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly
+       flag the general-purpose registers as floating-point on targets
+       that don't support the floating-point registers.
+
 2002-08-20  Elena Zannoni  <ezannoni@redhat.com>
 
        * rs6000-tdep.c (altivec_register_p): Delete.
index 8f5c13ca319a34bd93fe35466eed8a749487f55e..30128d9341ae048a22d72f21bb0e0f6bdb0d6d4d 100644 (file)
@@ -114,7 +114,7 @@ struct gdbarch_tdep
 #define FOP_REGNUM     (FPC_REGNUM + 7)
 
 /* Return non-zero if N corresponds to a FPU data registers.  */
-#define FP_REGNUM_P(n) (FP0_REGNUM <= (n) && (n) < FPC_REGNUM)
+#define FP_REGNUM_P(n) (FP0_REGNUM && FP0_REGNUM <= (n) && (n) < FPC_REGNUM)
 
 /* Return non-zero if N corresponds to a FPU control register.  */
 #define FPC_REGNUM_P(n)        (FPC_REGNUM <= (n) && (n) < XMM0_REGNUM)
This page took 0.030418 seconds and 4 git commands to generate.