* 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

@ -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> 2008-02-18 Markus Deuling <deuling@de.ibm.com>
* sentinel-frame.c (sentinel_frame_prev_register): Do not call * sentinel-frame.c (sentinel_frame_prev_register): Do not call

View file

@ -79,8 +79,7 @@ getregs_supplies (int regno)
int int
getfpregs_supplies (int regno) getfpregs_supplies (int regno)
{ {
return gdbarch_fp0_regnum (current_gdbarch) <= regno return M68K_FP0_REGNUM <= regno && regno <= M68K_FPI_REGNUM;
&& regno <= M68K_FPI_REGNUM;
} }
/* Does the current host support the GETREGS request? */ /* Does the current host support the GETREGS request? */