This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [hpux] Improve handling of unwind records for hp compiler
- From: Randolph Chung <tausq at debian dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 01 Mar 2006 13:22:51 +0800
- Subject: Re: [hpux] Improve handling of unwind records for hp compiler
- References: <43A1822C.9000500@tausq.org>
Randolph Chung wrote:
> As discussed recently on the gdb mailing list, current gdb has problems
> unwinding code generated by the HP compiler. The attached patch teaches
> the hppa unwinder about two additional flags in the unwind record
> generated by the HP toolchain.
>
> For some reason in the gdb code, the "alloca_frame" bit is called
> Pseudo_SP_Set; most HP docs refer to it as alloca_frame. I'll submit a
> separate change to improve the "maint print unwind" command to print out
> all the unwind record flags and change the name of the alloca_frame flag
> to match the documentation.
>
> This patch was tested with no regressions against GNU tools on
> hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. I only tested it against
> one HP compiled program I have on hand (wdb).
>
> I'll commit this in a couple of days if there are no additional comments.
3 months late, but this is committed now.
randolph