[07/10] watchpoint.exp: Delete forgotten watchpoint.
Pedro Alves
palves@redhat.com
Thu Jan 26 14:23:00 GMT 2012
I flipped the sequence of some of the tests, and that triggered a fail,
caused by this left-behind watchpoint.
2012-01-26 Pedro Alves <palves@redhat.com>
* gdb.base/watchpoint.exp (top level): Delete watch ival3.
---
gdb/testsuite/gdb.base/watchpoint.exp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index a7bac05..8c5e1ee 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -867,6 +867,8 @@ if [initialize] then {
"Watchpoint \[0-9\]*: ival3.*Old value = 1.*New value = 2.*" \
"trigger slow conditional watch"
+ gdb_test_no_output "delete \$bpnum" "delete watch ival3"
+
# We've explicitly disabled hardware watches. Verify that GDB
# refrains from using them.
#
More information about the Gdb-patches
mailing list