Message ID | yddy4a2qnz3.fsf@lokon.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
On Mar 1, 2016, at 6:20 AM, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote: > When switching from gdb 7.10 to the newly released gdb 7.11 on Solaris, > all simulate-thread tests started to timeout Ok. If a domain expert prefers a different strategy, I’m fine with anything better as well.
Mike Stump <mikestump@comcast.net> writes: > On Mar 1, 2016, at 6:20 AM, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote: >> When switching from gdb 7.10 to the newly released gdb 7.11 on Solaris, >> all simulate-thread tests started to timeout > > Ok. If a domain expert prefers a different strategy, I’m fine with > anything better as well. Given that there were neither objections nor better suggestions, I've installed the patch everywhere. Thanks. Rainer
# HG changeset patch # Parent b8273f68b9015179dc5b11f384d55efd5b4130a8 Invoke gdb with -batch to avoid prompts diff --git a/gcc/testsuite/lib/gcc-gdb-test.exp b/gcc/testsuite/lib/gcc-gdb-test.exp --- a/gcc/testsuite/lib/gcc-gdb-test.exp +++ b/gcc/testsuite/lib/gcc-gdb-test.exp @@ -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 diff --git a/gcc/testsuite/lib/gcc-simulate-thread.exp b/gcc/testsuite/lib/gcc-simulate-thread.exp --- a/gcc/testsuite/lib/gcc-simulate-thread.exp +++ b/gcc/testsuite/lib/gcc-simulate-thread.exp @@ -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