This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
gdb.base/watchpoint.exp: cleanup
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: gdb.base/watchpoint.exp: cleanup
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 06 Oct 1999 12:57:09 +1000
- DJ-Gateway: from newsgroup cygnus.patches.gdb
- Newsgroups: cygnus.patches.gdb
- Organization: Cygnus Solutions
Hello,
Any objections? Cleans up a watchpoint pass.
Andrew
Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
a pass case.
Index: gdb/testsuite/gdb.base/watchpoint.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/watchpoint.exp,v
retrieving revision 1.41
diff -p -r1.41 watchpoint.exp
*** watchpoint.exp 1999/07/30 01:41:44 1.41
--- watchpoint.exp 1999/10/06 02:50:55
*************** proc test_stepping {} {
*** 388,394 ****
send_gdb "finish\n"
gdb_expect {
! -re "Run.*exit from.*marker1.* at" { }
default { fail "finish from marker1" ; return }
}
--- 388,396 ----
send_gdb "finish\n"
gdb_expect {
! -re "Run.*exit from.*marker1.* at" {
! pass "finish from marker1"
! }
default { fail "finish from marker1" ; return }
}