target_info setting.
* gdb.threads/thread-specific.exp (get_thread_list): Support targets
that detect new threads during "info threads".
+2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * 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".
+
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/manythreads.c (main): Increase thread stack size
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
+ # Disable hardware watchpoints if necessary.
+ if [target_info exists gdb,no_hardware_watchpoints] {
+ gdb_test "set can-use-hw-watchpoints 0" "" ""
+ }
+
runto_main
gdb_test "watch ival1" "" ""
gdb_test "watch ival3" "" ""
-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