summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-09-29 13:03:47 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-09-29 13:03:47 +0000
commit72e080cea5d0cf7a5e7e6ae545b47cad18d433ca (patch)
tree5fd2ab0553eeb45d062b4b3273cf86ffec9d698f /gdb/testsuite/gdb.threads
parentf3939493bcbce24acc54a9ec0e6ee1dab78d6c88 (diff)
downloadgdb-72e080cea5d0cf7a5e7e6ae545b47cad18d433ca.tar.gz
* gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
target_info setting. * gdb.threads/thread-specific.exp (get_thread_list): Support targets that detect new threads during "info threads".
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/thread-specific.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/thread-specific.exp b/gdb/testsuite/gdb.threads/thread-specific.exp
index 775940b73e2..30e1a43ae28 100644
--- a/gdb/testsuite/gdb.threads/thread-specific.exp
+++ b/gdb/testsuite/gdb.threads/thread-specific.exp
@@ -43,6 +43,9 @@ proc get_thread_list { } {
-re "info threads\r\n" {
exp_continue
}
+ -re "New Thread \[^\n\]*\n" {
+ exp_continue
+ }
-re "^\\* *(\[0-9\]*) Thread \[^\n\]*main\[^\n\]*\n" {
set thr_list "$expect_out(1,string) $thr_list"
exp_continue