* gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.

* gdb.mi/mi-watch.exp: Likewise.
This commit is contained in:
Daniel Jacobowitz 2007-09-06 23:25:41 +00:00
parent 93b1ec2cbf
commit 3e34759906
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
* gdb.mi/mi-watch.exp: Likewise.
2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
Jim Blandy <jimb@codesourcery.com>

View File

@ -167,6 +167,11 @@ proc test_watchpoint_triggering {} {
}
}
# Disable hardware watchpoints if necessary.
if [target_info exists gdb,no_hardware_watchpoints] {
mi_gdb_test "-gdb-set can-use-hw-watchpoints 0" "\\^done" ""
}
mi_runto callee4
test_watchpoint_creation_and_listing
#test_rwatch_creation_and_listing

View File

@ -167,6 +167,11 @@ proc test_watchpoint_triggering {} {
}
}
# Disable hardware watchpoints if necessary.
if [target_info exists gdb,no_hardware_watchpoints] {
mi_gdb_test "-gdb-set can-use-hw-watchpoints 0" "\\^done" ""
}
mi_runto callee4
test_watchpoint_creation_and_listing
#test_rwatch_creation_and_listing