* 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.
This commit is contained in:
Mark Kettenis 2002-08-20 17:59:50 +00:00
parent e1b73efd99
commit e5451d58f4
2 changed files with 7 additions and 1 deletions

View 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.

View 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)