This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[07/10] watchpoint.exp: Delete forgotten watchpoint.
- From: Pedro Alves <palves at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Date: Thu, 26 Jan 2012 14:21:31 +0000
- Subject: [07/10] watchpoint.exp: Delete forgotten watchpoint.
- References: <4F215EE8.4080302@redhat.com>
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.
#