From: Michael Snyder <msnyder@vmware.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: [patch] gdb.base/pending.exp replace gdb_test_multi
Date: Fri, 04 Jun 2010 22:16:00 -0000 [thread overview]
Message-ID: <4C097B4A.8080005@vmware.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 27 bytes --]
This is a simplification.
[-- Attachment #2: pending.txt --]
[-- Type: text/plain, Size: 882 bytes --]
2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.base/pending.exp: Replace gdb_test_multiple with gdb_test.
Index: pending.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/pending.exp,v
retrieving revision 1.20
diff -u -p -r1.20 pending.exp
--- pending.exp 1 Jun 2010 21:29:21 -0000 1.20
+++ pending.exp 4 Jun 2010 22:13:08 -0000
@@ -123,11 +123,11 @@ gdb_test "info break" \
#
# Test not setting a pending breakpoint
#
-gdb_test_multiple "break pendfunc2" "Don't set pending breakpoint" {
- -re ".*Make breakpoint pending.*y or \\\[n\\\]. $" {
- gdb_test "n" "" "Don't set pending breakpoint"
- }
-}
+gdb_test "break pendfunc2" \
+ "" \
+ "Don't set pending breakpoint" \
+ ".*Make breakpoint pending.*y or \\\[n\\\]. $" \
+ "n"
#
# Add condition to pending breakpoint
next reply other threads:[~2010-06-04 22:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-04 22:16 Michael Snyder [this message]
2010-06-07 22:51 ` Jan Kratochvil
2010-06-07 23:00 ` Michael Snyder
2010-06-08 17:34 ` Jan Kratochvil
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=4C097B4A.8080005@vmware.com \
--to=msnyder@vmware.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