From 468b1aa797455f6cc72bcfd7f5ffd5ef7e88ef22 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 11 Jun 2010 17:34:56 +0000 Subject: [PATCH] * gdb.python/py-breakpoint.exp: Handle software watchpoints as well. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.python/py-breakpoint.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1c31e2ab3ed..d66c7b48a82 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-06-11 Ulrich Weigand + + * gdb.python/py-breakpoint.exp: Handle software watchpoints as well. + 2010-06-11 Ulrich Weigand * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests. diff --git a/gdb/testsuite/gdb.python/py-breakpoint.exp b/gdb/testsuite/gdb.python/py-breakpoint.exp index 903912ce2d8..d5e259fa17d 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" -- 2.30.2