* gdb.base/watch-cond.exp: Likewise.
* gdb.python/py-breakpoint.exp: Likewise.
+2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
+ * gdb.base/watch-cond.exp: Likewise.
+ * gdb.python/py-breakpoint.exp: Likewise.
+
2010-06-18 Pedro Alves <pedro@codesourcery.com>
* gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
return -1;
}
+# Disable hardware watchpoints if necessary.
+if [target_info exists gdb,no_hardware_watchpoints] {
+ gdb_test_no_output "set can-use-hw-watchpoints 0" ""
+}
if { ![runto main] } then {
fail "run to main"
return -1
}
+# Disable hardware watchpoints if necessary.
+if [target_info exists gdb,no_hardware_watchpoints] {
+ gdb_test_no_output "set can-use-hw-watchpoints 0" ""
+}
+
if ![runto_main] then {
fail "Can't run to main"
return
clean_restart ${testfile}
+# Disable hardware watchpoints if necessary.
+if [target_info exists gdb,no_hardware_watchpoints] {
+ gdb_test_no_output "set can-use-hw-watchpoints 0" ""
+}
+
if ![runto_main] then {
fail "Can't run to main"
return
clean_restart ${testfile}
+# Disable hardware watchpoints if necessary.
+if [target_info exists gdb,no_hardware_watchpoints] {
+ gdb_test_no_output "set can-use-hw-watchpoints 0" ""
+}
+
if ![runto_main] then {
fail "Can't run to main"
return
# Start with a fresh gdb.
clean_restart ${testfile}
+# Disable hardware watchpoints if necessary.
+if [target_info exists gdb,no_hardware_watchpoints] {
+ gdb_test_no_output "set can-use-hw-watchpoints 0" ""
+}
+
if ![runto_main] then {
fail "Cannot run to main."
return 0