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] gdb.c++/classes.exp


2000-06-19  Jimmy Guo  <guo@cup.hp.com>
	* gdb.c++/classes.exp: Fix test to go with recent misc.cc change.

Index: gdb.c++/classes.exp
/usr/local/bin/diff -c -w -L gdb.c++/classes.exp gdb.c++/classes.exp@@/main/_guo_unified_merge/3 gdb.c++/classes.exp
*** gdb.c++/classes.exp
--- gdb.c++/classes.exp	Mon Jun 19 09:52:58 2000
***************
*** 787,801 ****
  
  
  # set a breakpoint and go there
! send_gdb "break 516\n"   
  gdb_expect {   
!    -re "Breakpoint \[0-9\] at.*$gdb_prompt $" { pass "set break 516" }
!    -re "$gdb_prompt $"                     { fail "set break 516" }
!    timeout                             { fail "(timeout) set break 516" }
  }
  send_gdb "continue\n"   
  gdb_expect {   
!    -re "Continuing\\.\r\n\r\nBreakpoint \[0-9\]*, main....at.*misc\\.cc:516\r\n516.*\r\n$gdb_prompt $" { pass "continue" }
     -re "$gdb_prompt $"                     { fail "continue" }
     timeout                             { fail "(timeout) continue" }
  }
--- 787,801 ----
  
  
  # set a breakpoint and go there
! send_gdb "break 526\n"   
  gdb_expect {   
!    -re "Breakpoint \[0-9\] at.*$gdb_prompt $" { pass "set break 526" }
!    -re "$gdb_prompt $"                     { fail "set break 526" }
!    timeout                             { fail "(timeout) set break 526" }
  }
  send_gdb "continue\n"   
  gdb_expect {   
!    -re "Continuing\\.\r\n\r\nBreakpoint \[0-9\]*, main....at.*misc\\.cc:526\r\n526.*\r\n$gdb_prompt $" { pass "continue" }
     -re "$gdb_prompt $"                     { fail "continue" }
     timeout                             { fail "(timeout) continue" }
  }


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