aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-05-19 03:07:58 +0000
committerRandolph Chung <tausq@debian.org>2004-05-19 03:07:58 +0000
commit5859efe54e9c24b55dcb713af8bb0b178cbf052c (patch)
tree3ca884837450997f3f3825a27d3fd6dc2631fafd
parent9ca80cf8cc06af0c6cb0e8dfd868615ca3065c0e (diff)
downloadgdb-5859efe54e9c24b55dcb713af8bb0b178cbf052c.zip
gdb-5859efe54e9c24b55dcb713af8bb0b178cbf052c.tar.gz
gdb-5859efe54e9c24b55dcb713af8bb0b178cbf052c.tar.bz2
2004-05-18 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for millicode functions.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/hppa-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e9fbfa9..1b7b4c8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
references to dld_flags_buffer consistent.
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 37bab73..4adefed 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -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
{