This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

(patch) hpjyg02: fix gdb.base/commands.exp


We need a $gdb_prompt $ anchor for 'continue with watch' test in
gdb.base/commands.exp, or the anchor could be picked up by the next
expect ...

- Jimmy Guo

Index: gdb/testsuite/ChangeLog
/opt/gnu/bin/diff -r -c -N -L gdb/testsuite/ChangeLog gdb/testsuite/ChangeLog@@/GDB_1999_10_25 gdb/testsuite/ChangeLog
*** gdb/testsuite/ChangeLog
--- gdb/testsuite/ChangeLog	Thu Oct 28 17:40:25 1999
***************
*** 1,3 ****
--- 1,14 ----
+ 1999-10-28	Jimmy Guo	<guo@cup.hp.com>
+ 
+ 	* gdb.base/commands.exp: add '$gdb_prompt $' anchor to 
+ 	'continue with watch' test point.
+ 
+ 1999-10-28	Jimmy Guo	<guo@cup.hp.com>
+ 
+ 	* gdb.base/annota1.c, gdb.base/annota1.exp: add test to check
+ 	that breakpoint ignore count changes are annotated but only once
+ 	for successive ignore count changes.
+ 
  1999-10-18  Jim Blandy  <jimb@zwingli.cygnus.com>
  
  	* gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
Index: gdb/testsuite/gdb.base/commands.exp
/opt/gnu/bin/diff -r -c -N -L gdb/testsuite/gdb.base/commands.exp gdb/testsuite/gdb.base/commands.exp@@/GDB_1999_10_25 gdb/testsuite/gdb.base/commands.exp
*** gdb/testsuite/gdb.base/commands.exp
--- gdb/testsuite/gdb.base/commands.exp	Thu Oct 28 15:09:54 1999
***************
*** 320,326 ****
      }
      send_gdb "continue\n"
      gdb_expect {
!       -re "Continuing.*\[Ww\]atchpoint $wp_id deleted because the program has left the block in.*which its expression is valid.*run.c:57.*"\
                {pass "continue with watch"}
        -re "$gdb_prompt $"\
                {fail "continue with watch"}
--- 320,326 ----
      }
      send_gdb "continue\n"
      gdb_expect {
!       -re "Continuing.*\[Ww\]atchpoint $wp_id deleted because the program has left the block in.*which its expression is valid.*run.c:57.*$gdb_prompt $"\
                {pass "continue with watch"}
        -re "$gdb_prompt $"\
                {fail "continue with watch"}



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