This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [hpux] Improve sigtramp frame identification
- From: Randolph Chung <randolph at tausq dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 07 Dec 2005 09:27:09 +0800
- Subject: Re: [hpux] Improve sigtramp frame identification
- References: <437F1F25.6040104@tausq.org> <200512062139.jB6LdRX4029666@elgar.sibelius.xs4all.nl>
> Bleah, this seems to have broken sigtramp detection on HP-UX 10.20.
> Problem is that if we go up one frame from the signal handler we end
> up in the export stub for _sigreturn, and not _sigreturn itself. The
> export stub doesn't have the HP_UX_interrupt_marker bit set in the
> unwind record.
>
> Did you make this change to fix a specific problem? If not I'd like
> to add the strcmp() back in...
BTW, you might want to read this thread:
http://sources.redhat.com/ml/gdb-patches/2004-05/msg00594.html
For the export stubs bit, the final message from Dan is here:
http://sources.redhat.com/ml/gdb-patches/2004-05/msg00741.html
I think this "problem" still exists even if you add the strcmp back in.
Suggestions on how to deal with this is welcome.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/