aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-09-29 13:02:58 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-09-29 13:02:58 +0000
commitb32306caf4fa411b12f7d338eadf8779624f6e63 (patch)
tree9d652b5c560ca2d66c83fa142186f280ed667ae9 /gdb/testsuite/gdb.threads
parentbeaabab2393fbf6cc69360b6b4445f86d6a5ea67 (diff)
downloadgdb-b32306caf4fa411b12f7d338eadf8779624f6e63.zip
gdb-b32306caf4fa411b12f7d338eadf8779624f6e63.tar.gz
gdb-b32306caf4fa411b12f7d338eadf8779624f6e63.tar.bz2
* 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 775940b..30e1a43 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