From: Andreas Schwab Date: Sat, 25 Dec 2010 19:22:39 +0000 (+0000) Subject: * gdb.threads/tls.exp: Fix typo. X-Git-Tag: sid-snapshot-20110101~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d3d9cba6ab86c4f2caf05ae78d2588edce8006b;p=external%2Fbinutils.git * gdb.threads/tls.exp: Fix typo. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 05cef8a..02a92a9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2010-12-25 Andreas Schwab + * gdb.threads/tls.exp: Fix typo. + * gdb.threads/thread-specific.exp (get_thread_list): Update. * gdb.threads/execl.exp: Update. diff --git a/gdb/testsuite/gdb.threads/tls.exp b/gdb/testsuite/gdb.threads/tls.exp index bf21104..eca935c 100644 --- a/gdb/testsuite/gdb.threads/tls.exp +++ b/gdb/testsuite/gdb.threads/tls.exp @@ -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" }