+2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
+
+ * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
+ flag after restarting GDB if necessary.
+
2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.python/py-shared.exp: Call gdb_load_shlibs.
# 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
# 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