summaryrefslogtreecommitdiff
path: root/gdb/m68klinux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m68klinux-nat.c')
-rw-r--r--gdb/m68klinux-nat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c
index edd002e7e35..7467190492a 100644
--- a/gdb/m68klinux-nat.c
+++ b/gdb/m68klinux-nat.c
@@ -79,8 +79,7 @@ getregs_supplies (int regno)
int
getfpregs_supplies (int regno)
{
- return gdbarch_fp0_regnum (current_gdbarch) <= regno
- && regno <= M68K_FPI_REGNUM;
+ return M68K_FP0_REGNUM <= regno && regno <= M68K_FPI_REGNUM;
}
/* Does the current host support the GETREGS request? */