aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-fbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips-fbsd-nat.c')
-rw-r--r--gdb/mips-fbsd-nat.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/mips-fbsd-nat.c b/gdb/mips-fbsd-nat.c
index 53817d7..f86d447 100644
--- a/gdb/mips-fbsd-nat.c
+++ b/gdb/mips-fbsd-nat.c
@@ -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
@@ -119,10 +119,6 @@ mips_fbsd_store_inferior_registers (struct target_ops *ops,
perror_with_name (_("Couldn't write floating point status"));
}
}
-
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-void _initialize_mips_fbsd_nat (void);
void
_initialize_mips_fbsd_nat (void)