From: muller Date: Tue, 9 Oct 2007 15:08:02 +0000 (+0000) Subject: 2007/10/09 Pierre Muller X-Git-Tag: EOL_registry_mounts~2180 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8c05c11c0609d75032e77f8bb9d5961848beedbb;p=pf3gnuchains%2Fpf3gnuchains4x.git 2007/10/09 Pierre Muller * lib/gdb.exp (gdb_run_cmd): Move comment outside of gdb_expect call, to avoid interruption. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 61b007adb5..2906055991 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007/10/09 Pierre Muller + + * lib/gdb.exp (gdb_run_cmd): Move comment outside + of gdb_expect call, to avoid interruption. + 2007-10-09 Pedro Alves * gdb.base/whatis.c (v_long_long, v_signed_long_long) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 48b62f45eb..b08748af66 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -275,13 +275,13 @@ proc gdb_run_cmd {args} { } send_gdb "run $args\n" # This doesn't work quite right yet. - gdb_expect 60 { +# Use -notransfer here so that test cases (like chng-sym.exp) +# may test for additional start-up messages. + gdb_expect 60 { -re "The program .* has been started already.*y or n. $" { send_gdb "y\n" exp_continue } - # Use -notransfer here so that test cases (like chng-sym.exp) - # may test for additional start-up messages. -notransfer -re "Starting program: \[^\r\n\]*" {} } }