* gdb.threads/tls.exp: Fix typo.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 25 Dec 2010 19:22:39 +0000 (19:22 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 25 Dec 2010 19:22:39 +0000 (19:22 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/tls.exp

index 05cef8a143cb3b63f760f8f17acb693a3b277042..02a92a910d2f5840a313a49bf669d9871f14a4f6 100644 (file)
@@ -1,5 +1,7 @@
 2010-12-25  Andreas Schwab  <schwab@linux-m68k.org>
 
+       * gdb.threads/tls.exp: Fix typo.
+
        * gdb.threads/thread-specific.exp (get_thread_list): Update.
        * gdb.threads/execl.exp: Update.
 
index bf21104e8678e8a41999e6f94babeb820184c6dd..eca935c0c9be6ec47c554feb013705fa9e6878ec 100644 (file)
@@ -214,7 +214,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.*$gdb_prompt $" {
           set no_of_threads $expect_out(1,string)
           pass "get number of threads"
         }