From: Ulrich Weigand Date: Fri, 16 Mar 2007 15:29:00 +0000 (+0000) Subject: * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbb88ebfcf16cc98e37f7d88e6826f6319d04cd8;p=binutils-gdb.git * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up messages available to test cases (like chng-sym.exp). --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8abe15cd12c..10626a8507e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-03-16 Ulrich Weigand + + * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up + messages available to test cases (like chng-sym.exp). + 2007-03-14 Andreas Schwab * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 6a261f0a29d..40f19b8a727 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -283,7 +283,9 @@ proc gdb_run_cmd {args} { send_gdb "y\n" exp_continue } - -re "Starting program: \[^\r\n\]*" {} + # Use -notransfer here so that test cases (like chng-sym.exp) + # may test for additional start-up messages. + -notransfer -re "Starting program: \[^\r\n\]*" {} } }