aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/tls.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-12-21 19:10:15 +0000
committerTom Tromey <tromey@redhat.com>2010-12-21 19:10:15 +0000
commita7658b96f67e54d6579cb145677d19ae7ac93619 (patch)
tree4c0aceae9380de2753ed6ae6ce683e0ee59a55bb /gdb/testsuite/gdb.threads/tls.exp
parentc91a930cb775123c1dcdfc3f9366bd3e21d2c5e5 (diff)
downloadgdb-a7658b96f67e54d6579cb145677d19ae7ac93619.zip
gdb-a7658b96f67e54d6579cb145677d19ae7ac93619.tar.gz
gdb-a7658b96f67e54d6579cb145677d19ae7ac93619.tar.bz2
gdb
* thread.c (print_thread_info): Make a ui-out table in CLI mode. gdb/testsuite * gdb.threads/execl.exp: Update. * gdb.threads/linux-dp.exp: Update. * gdb.threads/manythreads.exp: Update. * gdb.threads/tls.exp: Update.
Diffstat (limited to 'gdb/testsuite/gdb.threads/tls.exp')
-rw-r--r--gdb/testsuite/gdb.threads/tls.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.threads/tls.exp b/gdb/testsuite/gdb.threads/tls.exp
index eb76f1a..bf21104 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\]+(\[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"
}
@@ -262,10 +262,10 @@ gdb_test "continue" ".*Breakpoint 4.*before exit.*" "threads exited"
send_gdb "info thread\n"
gdb_expect {
- -re ".* 1 Thread.*2 Thread.*$gdb_prompt $" {
+ -re ".* 1 *Thread.*2 *Thread.*$gdb_prompt $" {
fail "Too many threads left at end"
}
- -re ".*\\\* 1 Thread.*main.*$gdb_prompt $" {
+ -re ".*\\\* 1 *Thread.*main.*$gdb_prompt $" {
pass "Expect only base thread at end"
}
-re ".*No stack.*$gdb_prompt $" {