diff options
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r-- | gdb/i386-tdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 8f5c13c..30128d9 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -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) |