aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-12-25 19:22:39 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2010-12-25 19:22:39 +0000
commit5d3d9cba6ab86c4f2caf05ae78d2588edce8006b (patch)
tree69a9301e4c19103ac4a91be6dd4a09cc778e0878 /gdb/testsuite/gdb.threads
parenta283af878e1c12d0a042d374a6c394e68d4390b6 (diff)
downloadgdb-5d3d9cba6ab86c4f2caf05ae78d2588edce8006b.zip
gdb-5d3d9cba6ab86c4f2caf05ae78d2588edce8006b.tar.gz
gdb-5d3d9cba6ab86c4f2caf05ae78d2588edce8006b.tar.bz2
* gdb.threads/tls.exp: Fix typo.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/tls.exp2
1 files changed, 1 insertions, 1 deletions
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"
}