From dfb88a23362dcc3945486656dc6f9870bdce7519 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 4 Jun 2010 23:09:15 +0000 Subject: [PATCH] 2010-06-04 Michael Snyder * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test. --- gdb/testsuite/ChangeLog | 3 ++- gdb/testsuite/gdb.base/attach.exp | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 595ab9fc26b..d0bb4847b02 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,6 +1,7 @@ 2010-06-04 Michael Snyder - * gdb.base/pending.exp: Replace gdb_test_multiple with gdb_test. + * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test. + * gdb.base/pending.exp: Ditto. * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple. diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index fdea6423f04..bc7d4eb7208 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}" -- 2.30.2