From: Markus Deuling Date: Mon, 18 Feb 2008 19:58:27 +0000 (+0000) Subject: * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ed226fe6da8c51a04bd9063a8a58117e2c7a769;p=binutils-gdb.git * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by M68K_FP0_REGNUM. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ad240ea739..0856a34bf97 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-02-18 Markus Deuling + + * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by + M68K_FP0_REGNUM. + 2008-02-18 Markus Deuling * sentinel-frame.c (sentinel_frame_prev_register): Do not call 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? */