From: Daniel Jacobowitz Date: Thu, 6 Sep 2007 23:25:41 +0000 (+0000) Subject: * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e34759906232cdbcec638c4dd9cf556a4254669;p=binutils-gdb.git * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required. * gdb.mi/mi-watch.exp: Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 14d731dc179..c9ffd0e9f88 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-09-06 Daniel Jacobowitz + + * 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 Jim Blandy diff --git a/gdb/testsuite/gdb.mi/mi-watch.exp b/gdb/testsuite/gdb.mi/mi-watch.exp index ffd638fd792..f9a47233d10 100644 --- a/gdb/testsuite/gdb.mi/mi-watch.exp +++ b/gdb/testsuite/gdb.mi/mi-watch.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi2-watch.exp b/gdb/testsuite/gdb.mi/mi2-watch.exp index b205836837e..f09aa971fdb 100644 --- a/gdb/testsuite/gdb.mi/mi2-watch.exp +++ b/gdb/testsuite/gdb.mi/mi2-watch.exp @@ -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