From 72e080cea5d0cf7a5e7e6ae545b47cad18d433ca Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 29 Sep 2009 13:03:47 +0000 Subject: * 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". --- gdb/testsuite/gdb.threads/thread-specific.exp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/testsuite/gdb.threads') 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 -- cgit v1.2.1