* lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up

messages available to test cases (like chng-sym.exp).
This commit is contained in:
Ulrich Weigand 2007-03-16 15:29:00 +00:00
parent 591a748af9
commit bbb88ebfcf
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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\]*" {}
}
}