diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-16 15:29:00 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-16 15:29:00 +0000 |
commit | bbb88ebfcf16cc98e37f7d88e6826f6319d04cd8 (patch) | |
tree | d534276c5d49cd13f1481db63b0b0d1c6137b615 /gdb | |
parent | 591a748af9fb110937669a59bcf60fee440f2042 (diff) | |
download | gdb-bbb88ebfcf16cc98e37f7d88e6826f6319d04cd8.zip gdb-bbb88ebfcf16cc98e37f7d88e6826f6319d04cd8.tar.gz gdb-bbb88ebfcf16cc98e37f7d88e6826f6319d04cd8.tar.bz2 |
* lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
messages available to test cases (like chng-sym.exp).
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8abe15c..10626a8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * 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 <schwab@suse.de> * 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 6a261f0..40f19b8 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\]*" {} } } |