From: David Miller <davem@davemloft.net>
To: gdb-patches@sourceware.org
Subject: [PATCH] Fix signal handler single step test on Sparc/Linux
Date: Wed, 16 Nov 2011 06:15:00 -0000 [thread overview]
Message-ID: <20111116.011523.347441838363075044.davem@davemloft.net> (raw)
This target uses software single step, so we can't reliably step
into a signal handler. Thus we shouldn't run tests such as
gdb.base/kill-after-signal.exp
Ok to commit?
gdb/testsuite/
2011-11-15 David S. Miller <davem@davemloft.net>
* lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
target is sparc*-*-linux
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 3f0bffd..5647172 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1539,7 +1539,7 @@ proc can_single_step_to_signal_handler {} {
# to determine the next instruction addresses, because start of signal
# handler is one of them.
if { [istarget "arm*-*-*"] || [istarget "mips*-*-*"]
- || [istarget "tic6x-*-*"] } {
+ || [istarget "tic6x-*-*"] || [istarget "sparc*-*-linux"] } {
return 0
}
next reply other threads:[~2011-11-16 6:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 6:15 David Miller [this message]
2011-11-16 15:39 ` Tom Tromey
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=20111116.011523.347441838363075044.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=gdb-patches@sourceware.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