This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] fix typo in hppa-tdep.c
- From: Randolph Chung <randolph at tausq dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 19 May 2004 08:02:12 -0700
- Subject: [commit] fix typo in hppa-tdep.c
- Reply-to: Randolph Chung <randolph at tausq dot org>
Fixes a copy&paste error in hppa-tdep.c; committed. -randolph
2004-05-18 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
millicode functions.
Index: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.161
diff -u -p -r1.161 hppa-tdep.c
--- hppa-tdep.c 19 May 2004 02:38:28 -0000 1.161
+++ hppa-tdep.c 19 May 2004 02:47:15 -0000
@@ -1807,7 +1835,7 @@ hppa_frame_cache (struct frame_info *nex
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
{
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/