2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
This commit is contained in:
parent
f7ae76b3b9
commit
dfb88a2336
2 changed files with 7 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
2010-06-04 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* 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.
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue