summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoint.exp
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2012-01-27 13:59:21 +0000
committerPedro Alves <pedro@codesourcery.com>2012-01-27 13:59:21 +0000
commit771cd540cc4721040859984e27529c7ab5141b06 (patch)
tree041d0b3c0dd38fc05edd07372771746ae910dd6d /gdb/testsuite/gdb.base/watchpoint.exp
parentcfcedca708a8d6f091a1a400f1406f42c2cfe3f8 (diff)
downloadgdb-771cd540cc4721040859984e27529c7ab5141b06.tar.gz
2012-01-27 Pedro Alves <palves@redhat.com>
* gdb.base/watchpoint.exp (top level): Delete watch ival3.
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoint.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoint.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index a4f30b39268..6eba4b0882d 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -866,6 +866,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.
#