aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/thread-specific.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.threads/thread-specific.exp')
-rw-r--r--gdb/testsuite/gdb.threads/thread-specific.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/thread-specific.exp b/gdb/testsuite/gdb.threads/thread-specific.exp
index 775940b..30e1a43 100644
--- a/gdb/testsuite/gdb.threads/thread-specific.exp
+++ b/gdb/testsuite/gdb.threads/thread-specific.exp
@@ -43,6 +43,9 @@ proc get_thread_list { } {
-re "info threads\r\n" {
exp_continue
}
+ -re "New Thread \[^\n\]*\n" {
+ exp_continue
+ }
-re "^\\* *(\[0-9\]*) Thread \[^\n\]*main\[^\n\]*\n" {
set thr_list "$expect_out(1,string) $thr_list"
exp_continue