2012-01-27 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Fri, 27 Jan 2012 14:01:23 +0000 (14:01 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 27 Jan 2012 14:01:23 +0000 (14:01 +0000)
commit4b3c9f41b64c21833f687a547e3e894c14d81859
treeeb2ee75d70aa364c2d6bcd9823bfd027d8ccafdd
parenta13491c8b5eb8bf82923f54de9fabce8d49e6f2f
2012-01-27  Pedro Alves  <palves@redhat.com>

* gdb.base/watchpoint.exp (no_hw): New global.
(maybe_clean_restart, maybe_reinitialize): If no_hw is set,
disable hw watchpoints.
(test_wide_location_1, test_wide_location_2): If no_hw is set,
don't expect hw watchpoints.
(no_hw_watchpoints): Always clean restart.
(do_tests): New procedure, factored out from the top level.
(top level): Run tests twice.  Once with hw watchpoints enabled,
another time with hw watchpoints disabled.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.exp