+2012-01-27 Pedro Alves <palves@redhat.com>
+
+ * gdb.base/watchpoint.exp (top level): Re-enable hardware
+ watchpoints sooner.
+
2012-01-27 Pedro Alves <palves@redhat.com>
* gdb.base/watchpoint.exp (top level): Delete watch ival3.
"Expression cannot be implemented with read/access watchpoint..*" \
"rwatch disallowed when can-set-hw-watchpoints cleared"
+ # Re-enable hardware watchpoints if necessary.
+ if ![target_info exists gdb,no_hardware_watchpoints] {
+ gdb_test_no_output "set can-use-hw-watchpoints 1" ""
+ }
+
test_watchpoint_and_breakpoint
test_watchpoint_in_big_blob
test_watch_location
- # Re-enable hardware watchpoints if necessary.
- if ![target_info exists gdb,no_hardware_watchpoints] {
- gdb_test_no_output "set can-use-hw-watchpoints 1" ""
- }
-
test_wide_location_1
test_wide_location_2
}