2004-05-18 Randolph Chung <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
	millicode functions.
This commit is contained in:
Randolph Chung 2004-05-19 03:07:58 +00:00
parent 9ca80cf8cc
commit 5859efe54e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-18 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
millicode functions.
2004-05-18 Randolph Chung <tausq@debian.org>
* somsolib.c (som_solib_remove_inferior_hook): Make all the size

View File

@ -1807,7 +1807,7 @@ hppa_frame_cache (struct frame_info *next_frame, void **this_cache)
as the return register while normal code uses "rp". */
if (u->Millicode)
{
if (trad_frame_addr_p (cache->saved_regs, HPPA_RP_REGNUM))
if (trad_frame_addr_p (cache->saved_regs, 31))
cache->saved_regs[HPPA_PCOQ_HEAD_REGNUM] = cache->saved_regs[31];
else
{