This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC/RFA/hppa] unwind pc in bottom frame using correct register
Date: Tue, 7 Dec 2004 22:12:39 -0800
From: Randolph Chung <randolph@tausq.org>
> hrm, something is broken. on hppa64-hp-hpux11.11 this is causing a lot
> of unwinding failures. the hpux unwind_pc method is getting flags that
> have the magic "2" bit set, so it gets the pc from 31 instead of the
> pcoqh register.
Duh! Sorry 'bout that. The `ss_flags' field is declared as an `int'
so I thought it was 4 bytes everywhere.
figured it out.. we were only clearing the first half of the register on
64-bit... i committed the following patch to fix the problem.
Thanks,
Mark