aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/attach.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-06-04 23:09:15 +0000
committerMichael Snyder <msnyder@vmware.com>2010-06-04 23:09:15 +0000
commitdfb88a23362dcc3945486656dc6f9870bdce7519 (patch)
treefb0adf424a975dcaed0a0300593f739ef505bed3 /gdb/testsuite/gdb.base/attach.exp
parentf7ae76b3b95f3c6ad3ba4c81c46b8c6039d855da (diff)
downloadgdb-dfb88a23362dcc3945486656dc6f9870bdce7519.zip
gdb-dfb88a23362dcc3945486656dc6f9870bdce7519.tar.gz
gdb-dfb88a23362dcc3945486656dc6f9870bdce7519.tar.bz2
2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
Diffstat (limited to 'gdb/testsuite/gdb.base/attach.exp')
-rw-r--r--gdb/testsuite/gdb.base/attach.exp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp
index fdea642..bc7d4eb 100644
--- a/gdb/testsuite/gdb.base/attach.exp
+++ b/gdb/testsuite/gdb.base/attach.exp
@@ -309,11 +309,11 @@ proc do_attach_tests {} {
"attach when process' a.out not in cwd"
set test "after attach3, exit"
- gdb_test_multiple "kill" "$test" {
- -re "Kill the program being debugged.*y or n. $" {
- gdb_test "y" "" "$test"
- }
- }
+ gdb_test "kill" \
+ "" \
+ "$test" \
+ "Kill the program being debugged.*y or n. $" \
+ "y"
# Another "don't leave a process around"
remote_exec build "kill -9 ${testpid}"