[RFC/RFA/hppa] unwind pc in bottom frame using correct register

Mark Kettenis kettenis@gnu.org
Wed Dec 8 22:20:00 GMT 2004


   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



More information about the Gdb-patches mailing list