Reapply: List inferiors/threads/pspaces in ascending order
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / tls.exp
index cd7fc0aed93305a101c55faa5953d4c757e56a03..4d0a2355eb68ec97c8c4f2faf68d2c551d8d44f0 100644 (file)
@@ -205,7 +205,7 @@ gdb_test "continue" ".*Breakpoint 3.*still alive.*" "continue to synch point"
 set no_of_threads 0
 send_gdb "info thread\n"
 gdb_expect {
-    -re "^info thread\[ \t\r\n\]+ *Id .*Frame\[ \t\r\n\]+(\[0-9\]+) *Thread.*$gdb_prompt $" {
+    -re "^info thread\[ \t\r\n\]+ *Id .*Frame\[ \t\r\n\]+.*(\[0-9\]+) *Thread\[^\r\n\]+\r\n$gdb_prompt $" {
           set no_of_threads $expect_out(1,string)
           pass "get number of threads"
         }
This page took 0.027075 seconds and 4 git commands to generate.