* gdb.base/annota1.exp: Remove extra send_gdb.

This commit is contained in:
Daniel Jacobowitz 2007-01-10 03:23:04 +00:00
parent dcbaa9c6a3
commit 054410c315
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/annota1.exp: Remove extra send_gdb.
2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.

View File

@ -244,7 +244,6 @@ set pat_begin "\r\n\032\032post-prompt\r\nContinuing.\r\n\r\n\032\032starting\r\
set pat_adjust "warning: Breakpoint 3 address previously adjusted from $hex to $hex.\r\n"
set pat_end "\r\n\032\032breakpoint 3\r\n\r\nBreakpoint 3, \r\n\032\032frame-begin 0 $hex\r\n\r\n(\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n)*.*\032\032frame-function-name\r\n.*printf\r\n\032\032frame-args\r\n.*\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$"
send_gdb "continue\n"
gdb_test_multiple "continue" "continue to printf" {
-re "${pat_begin}($pat_adjust)?$pat_end" {
pass "continue to printf"