aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/thread-specific-bp.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/thread-specific-bp.exp')
-rw-r--r--gdb/testsuite/gdb.threads/thread-specific-bp.exp9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.threads/thread-specific-bp.exp b/gdb/testsuite/gdb.threads/thread-specific-bp.exp
index bdf12f8..0c7e9fd 100644
--- a/gdb/testsuite/gdb.threads/thread-specific-bp.exp
+++ b/gdb/testsuite/gdb.threads/thread-specific-bp.exp
@@ -87,9 +87,12 @@ proc check_thread_specific_breakpoint {mode} {
} else {
set cmd "continue"
}
- gdb_test "$cmd" \
- "Breakpoint .* end .* at .*" \
- "continue to end"
+ set test "continue to end"
+ gdb_test_multiple "$cmd" $test {
+ -re "Breakpoint .* end .* at .*\r\n$gdb_prompt " {
+ pass $test
+ }
+ }
set test "thread-specific breakpoint was deleted"
gdb_test_multiple "info breakpoint" $test {