gdb.base/watchpoint.exp: cleanup

Andrew Cagney ac131313@cygnus.com
Tue Oct 5 20:00:00 GMT 1999


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 }
  	}
  




More information about the Gdb-patches mailing list