* m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by

M68K_FP0_REGNUM.
This commit is contained in:
Markus Deuling 2008-02-18 19:58:27 +00:00
parent 1ceab3445d
commit 4ed226fe6d
2 changed files with 6 additions and 2 deletions

View 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? */