Look for FIR in the last FreeBSD/mips floating-point register.
[deliverable/binutils-gdb.git] / gdb / mips-fbsd-nat.c
index 53817d7cd763640d5bd02f640a68086a79240e5c..c3811865354678f2876ccb02eea85612944a0309 100644 (file)
@@ -46,7 +46,7 @@ static bool
 getfpregs_supplies (struct gdbarch *gdbarch, int regnum)
 {
   return (regnum >= mips_regnum (gdbarch)->fp0
-         && regnum < mips_regnum (gdbarch)->fp_implementation_revision);
+         && regnum <= mips_regnum (gdbarch)->fp_implementation_revision);
 }
 
 /* Fetch register REGNUM from the inferior.  If REGNUM is -1, do this
This page took 0.024596 seconds and 4 git commands to generate.