This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [hpux] Improve sigtramp frame identification


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]