* gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 11 Jun 2010 17:34:56 +0000 (17:34 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 11 Jun 2010 17:34:56 +0000 (17:34 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-breakpoint.exp

index 1c31e2ab3ed7eaf0198a08f378638552376e2b8c..d66c7b48a820133890f769aac470335406ba0bdd 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
+
 2010-06-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
index 903912ce2d870932c7a05a79c4c91cd35f83617b..d5e259fa17deed7231c9dab16d087dab1f83fe72 100644 (file)
@@ -136,7 +136,7 @@ if ![runto_main] then {
 }
 
 gdb_py_test_silent_cmd  "python wp1 = gdb.Breakpoint (\"result\", type=gdb.BP_WATCHPOINT, wp_class=gdb.WP_WRITE )" "Set watchpoint" 0
-gdb_test "continue" ".*watchpoint.*result.*Old value = 0.*New value = 25.*main.*" "Test watchpoint write"
+gdb_test "continue" ".*\[Ww\]atchpoint.*result.*Old value = 0.*New value = 25.*main.*" "Test watchpoint write"