* m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
M68K_FP0_REGNUM.
This commit is contained in:
parent
1ceab3445d
commit
4ed226fe6d
2 changed files with 6 additions and 2 deletions
|
@ -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? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue