diff options
author | Randolph Chung <tausq@debian.org> | 2004-05-19 03:07:58 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-05-19 03:07:58 +0000 |
commit | 3a82c9507def0468510cc7864c2b5b0001ea8887 (patch) | |
tree | c72a57a5c989584e67bcb90670801675ca917aaa /gdb/hppa-tdep.c | |
parent | ff2696147ec1acba099dac7a093364a1f19b6e7b (diff) | |
download | gdb-3a82c9507def0468510cc7864c2b5b0001ea8887.tar.gz |
2004-05-18 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
millicode functions.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 37bab73e6b6..4adefeda26b 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 { |