This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[07/10] watchpoint.exp: Delete forgotten watchpoint.


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.
     #


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]