From: Randolph Chung <randolph@tausq.org>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfa] Signal trampoline unwinder for hppa-hpux
Date: Wed, 26 May 2004 05:36:00 -0000 [thread overview]
Message-ID: <20040526053609.GV7207@tausq.org> (raw)
In-Reply-To: <40B23320.90201@gnu.org>
> Yes, definitly. Having to do instruction examination should be
> considered a last resource.
ok, this is checked in now too, but can someone please comment on this
bit:
================================================================
Unfortunately this still fails a lot of the signal related testcases.
It is not because of a problem with the signal unwinder though:
On HPUX-SOM, there is an export stub inserted into the call sequence in
some cases; the export stub is hit on the return path from indirect
function calls, and apparently on return from a signal handler. This
creates an extra frame in the backtrace, viz:
(gdb) bt
#0 0x000029e4 in handle_USR1 (sig=0)
at ../../../gdb/gdb/testsuite/gdb.base/annota1.c:18
#1 0x000029c8 in handle_USR1 ()
at ../../../gdb/gdb/testsuite/gdb.base/annota1.c:17
#2 <signal handler called>
#3 main () at ../../../gdb/gdb/testsuite/gdb.base/annota1.c:40
Frame 1 comes from the export stub. Because of this, the pattern
matching in the backtrace test fails. I am not sure if this is a
problem with the test script or with the handling of export stubs -- am
I supposed to somehow supress the export stub from showing up in the
backtrace? (if so, how?)
================================================================
thanks
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
next prev parent reply other threads:[~2004-05-26 5:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-20 4:17 Randolph Chung
2004-05-20 20:46 ` Joel Brobecker
2004-05-20 20:53 ` Randolph Chung
2004-05-20 22:36 ` Joel Brobecker
2004-05-20 23:33 ` Joel Brobecker
2004-05-21 17:41 ` Andrew Cagney
2004-05-21 18:39 ` Randolph Chung
2004-05-22 1:58 ` Randolph Chung
2004-05-23 0:29 ` Randolph Chung
2004-05-24 17:38 ` Andrew Cagney
2004-05-26 5:36 ` Randolph Chung [this message]
2004-05-26 13:20 ` Daniel Jacobowitz
2004-05-22 18:30 John David Anglin
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=20040526053609.GV7207@tausq.org \
--to=randolph@tausq.org \
--cc=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
/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