Not all systems have hardware breakpoint support. Add a check
to see if the system supports hardware breakpoints.
gdb/testsuite/ChangeLog
* gdb.python/py-breakpoint.exp (test_hardware_breakpoints): Add
check for hardware breakpoint support.
proc_with_prefix test_hardware_breakpoints { } {
global srcfile testfile hex decimal
+ # Skip these tests if the HW does not support hardware breakpoints.
+ if { [skip_hw_breakpoint_tests] } { return 0 }
+
# Start with a fresh gdb.
clean_restart ${testfile}