This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] gdb.base/pending.exp replace gdb_test_multi
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 04 Jun 2010 15:16:42 -0700
- Subject: [patch] gdb.base/pending.exp replace gdb_test_multi
This is a simplification.
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