* 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
|
@ -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
|
||||||
|
|
|
@ -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? */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue