]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
authorDaniel Jacobowitz <drow@false.org>
Thu, 6 Sep 2007 23:25:41 +0000 (23:25 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 6 Sep 2007 23:25:41 +0000 (23:25 +0000)
* gdb.mi/mi-watch.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-watch.exp
gdb/testsuite/gdb.mi/mi2-watch.exp

index 14d731dc1794e366d40f1c050d9f922165bf0a50..c9ffd0e9f88fc4aeeac1b5720d153d21bf78604c 100644 (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>
 
index ffd638fd792c5b9f6abcc89827719e5230c1c2bb..f9a47233d10abdb2fda77bd42aaba1c710b09ab5 100644 (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
index b205836837e40ea56a557ff96bbc5582905700d0..f09aa971fdb5fa36687defccb35a9eab38038a4b 100644 (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