This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [hpux] Improve sigtramp frame identification
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: randolph at tausq dot org
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 6 Dec 2005 22:39:27 +0100 (CET)
- Subject: Re: [hpux] Improve sigtramp frame identification
- References: <437F1F25.6040104@tausq.org>
> Date: Sat, 19 Nov 2005 20:48:37 +0800
> From: Randolph Chung <randolph@tausq.org>
>
> the old code used to be hardcoded to look for a "_sigreturn" function,
> but according to the ABI, the signal frame can be identified by a
> specific bit in the unwind record. Use that instead.
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...
Mark