aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2010-06-11 17:34:56 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2010-06-11 17:34:56 +0000
commit468b1aa797455f6cc72bcfd7f5ffd5ef7e88ef22 (patch)
tree6f274b2d3f3bf76482a59e38ab9c026f8552b7fb
parent5c3552dc9fdc8a7f70082c8036a6d1df903b8925 (diff)
downloadfsf-binutils-gdb-468b1aa797455f6cc72bcfd7f5ffd5ef7e88ef22.zip
fsf-binutils-gdb-468b1aa797455f6cc72bcfd7f5ffd5ef7e88ef22.tar.gz
fsf-binutils-gdb-468b1aa797455f6cc72bcfd7f5ffd5ef7e88ef22.tar.bz2
* gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.python/py-breakpoint.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1c31e2a..d66c7b4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
diff --git a/gdb/testsuite/gdb.python/py-breakpoint.exp b/gdb/testsuite/gdb.python/py-breakpoint.exp
index 903912c..d5e259f 100644
--- a/gdb/testsuite/gdb.python/py-breakpoint.exp
+++ b/gdb/testsuite/gdb.python/py-breakpoint.exp
@@ -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"