From bbb88ebfcf16cc98e37f7d88e6826f6319d04cd8 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 16 Mar 2007 15:29:00 +0000 Subject: [PATCH] * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up messages available to test cases (like chng-sym.exp). --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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\]*" {} } } -- 2.30.2