Commit cb83ba54 by Rainer Orth Committed by Rainer Orth

Invoke gdb with -batch to avoid prompts

	* lib/gcc-gdb-test.exp (gdb-test): Make log message match command.
	Invoke gdb with -batch.
	* lib/gcc-simulate-thread.exp (simulate-thread): Likewise.

From-SVN: r233930
parent edcbda7e
2016-03-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/gcc-gdb-test.exp (gdb-test): Make log message match command.
Invoke gdb with -batch.
* lib/gcc-simulate-thread.exp (simulate-thread): Likewise.
2016-03-03 Richard Biener <rguenther@suse.de>
PR tree-optimization/55936
......
......@@ -73,8 +73,8 @@ proc gdb-test { args } {
puts $fd "quit"
close $fd
send_log "Spawning: $gdb_name -nx -nw -quiet -x $cmd_file ./$output_file\n"
set res [remote_spawn target "$gdb_name -nx -nw -quiet -x $cmd_file ./$output_file"]
send_log "Spawning: $gdb_name -nx -nw -quiet -batch -x $cmd_file ./$output_file\n"
set res [remote_spawn target "$gdb_name -nx -nw -quiet -batch -x $cmd_file ./$output_file"]
if { $res < 0 || $res == "" } {
unsupported "$testname"
file delete $cmd_file
......
......@@ -49,8 +49,8 @@ proc simulate-thread { args } {
set message "thread simulation test"
send_log "Spawning: $gdb_name -nx -nw -quiet -x $cmd_file ./$exec_file\n"
set res [remote_spawn target "$gdb_name -nx -nw -x $cmd_file ./$exec_file"]
send_log "Spawning: $gdb_name -nx -nw -batch -x $cmd_file ./$exec_file\n"
set res [remote_spawn target "$gdb_name -nx -nw -batch -x $cmd_file ./$exec_file"]
if { $res < 0 || $res == "" } {
unsupported "$testcase $message"
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment