From: Yao Qi <yao@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: [patch] Skip async-shell.exp if displaced stepping is not supported
Date: Wed, 13 Jul 2011 07:09:00 -0000 [thread overview]
Message-ID: <4E1D2EB9.3090909@codesourcery.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 137 bytes --]
non-stop mode needs displaced stepping. Skip this test on the target
which displaced stepping is not supported.
--
Yao (é½å°§)
[-- Attachment #2: 0012-skip-async-shell-if-disp-step-is-not-supported.patch --]
[-- Type: text/x-patch, Size: 782 bytes --]
2011-07-13 Yao Qi <yao@codesourcery.com>
gdb/testsuite/
* gdb.base/async-shell.exp: Skip test if displaced stepping is not
supported.
---
gdb/testsuite/gdb.base/async-shell.exp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gdb/testsuite/gdb.base/async-shell.exp b/gdb/testsuite/gdb.base/async-shell.exp
index b5ccd1f..a1eb314 100644
--- a/gdb/testsuite/gdb.base/async-shell.exp
+++ b/gdb/testsuite/gdb.base/async-shell.exp
@@ -14,6 +14,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set testfile async-shell
+
+if { ![support_displaced_stepping] } {
+ unsupported "displaced stepping"
+ return -1
+}
+
if { [prepare_for_testing ${testfile}.exp ${testfile}] } {
return -1
}
--
1.7.0.4
next reply other threads:[~2011-07-13 5:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-13 7:09 Yao Qi [this message]
2011-07-13 14:28 ` Tom Tromey
2011-07-14 17:25 ` Yao Qi
2011-07-14 22:26 ` Tom Tromey
2011-07-15 2:11 ` Jan Kratochvil
2011-07-18 15:01 ` [committed] " Yao Qi
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=4E1D2EB9.3090909@codesourcery.com \
--to=yao@codesourcery.com \
--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