aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68klinux-nat.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-02-18 19:58:27 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-02-18 19:58:27 +0000
commit4ed226fe6da8c51a04bd9063a8a58117e2c7a769 (patch)
treeaf316d3c537ac5af1390beffc0626eea963e6c51 /gdb/m68klinux-nat.c
parent1ceab3445da3ac749db58ab401ec461c0ad4bdf8 (diff)
downloadgdb-4ed226fe6da8c51a04bd9063a8a58117e2c7a769.zip
gdb-4ed226fe6da8c51a04bd9063a8a58117e2c7a769.tar.gz
gdb-4ed226fe6da8c51a04bd9063a8a58117e2c7a769.tar.bz2
* m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
M68K_FP0_REGNUM.
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 edd002e..7467190 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? */