From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: randolph@tausq.org
Cc: gdb-patches@sources.redhat.com
Subject: Re: [hpux] Improve sigtramp frame identification
Date: Wed, 07 Dec 2005 01:18:00 -0000 [thread overview]
Message-ID: <200512062139.jB6LdRX4029666@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <437F1F25.6040104@tausq.org> (message from Randolph Chung on Sat, 19 Nov 2005 20:48:37 +0800)
> 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
next prev parent reply other threads:[~2005-12-06 21:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-19 16:06 Randolph Chung
2005-12-07 1:18 ` Mark Kettenis [this message]
2005-12-07 17:54 ` Randolph Chung
2005-12-13 10:00 ` Mark Kettenis
2005-12-13 10:06 ` Randolph Chung
2005-12-13 20:20 ` Mark Kettenis
2005-12-13 20:35 ` Randolph Chung
2005-12-07 19:31 ` Randolph Chung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200512062139.jB6LdRX4029666@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=gdb-patches@sources.redhat.com \
--cc=randolph@tausq.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox