aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/print-threads.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/print-threads.exp')
-rw-r--r--gdb/testsuite/gdb.threads/print-threads.exp9
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.threads/print-threads.exp b/gdb/testsuite/gdb.threads/print-threads.exp
index a671479..1159540 100644
--- a/gdb/testsuite/gdb.threads/print-threads.exp
+++ b/gdb/testsuite/gdb.threads/print-threads.exp
@@ -63,8 +63,7 @@ proc test_all_threads { name kill } {
set i 0
set j 0
- send_gdb "continue\n"
- gdb_expect {
+ gdb_test_multiple "continue" "all threads ran once" {
-re "Breakpoint \[0-9\]+, thread_function \\(arg=.*\\) at .*print-threads.c:\[0-9\]+.*$gdb_prompt" {
set i [expr $i + 1]
pass "Hit thread_function breakpoint, $i ($name)"
@@ -96,12 +95,6 @@ proc test_all_threads { name kill } {
fail "Running threads ($name) (unknown output)"
}
}
- -re "$gdb_prompt" {
- fail "Running threads ($name) (unknown output)"
- }
- timeout {
- fail "Running threads ($name) (timeout)"
- }
}
}