* m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
authorMarkus Deuling <deuling@de.ibm.com>
Mon, 18 Feb 2008 19:58:27 +0000 (19:58 +0000)
committerMarkus Deuling <deuling@de.ibm.com>
Mon, 18 Feb 2008 19:58:27 +0000 (19:58 +0000)
M68K_FP0_REGNUM.

gdb/ChangeLog
gdb/m68klinux-nat.c

index 7ad240ea739ab8152c5342b0e16169b38d82735e..0856a34bf978d76eed288bf149d9469c1fcfdc63 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-18  Markus Deuling  <deuling@de.ibm.com>
+
+       * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
+       M68K_FP0_REGNUM.
+
 2008-02-18  Markus Deuling  <deuling@de.ibm.com>
 
        * sentinel-frame.c (sentinel_frame_prev_register): Do not call
index edd002e7e358db5fd78eb3e4cc0f7eda8e2900c2..7467190492ae2709ad3beb79d022719b9ef89582 100644 (file)
@@ -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?  */