]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Invoke gdb with -batch to avoid prompts
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 3 Mar 2016 10:04:28 +0000 (10:04 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 3 Mar 2016 10:04:28 +0000 (10:04 +0000)
* 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: r233933

gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcc-gdb-test.exp
gcc/testsuite/lib/gcc-simulate-thread.exp

index 98da2eddf5fa19f152b9d8b7e07019812d5e673b..d61a7e6e9222b0166fe99576a6ad4dc80f56bc41 100644 (file)
@@ -1,3 +1,9 @@
+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-01  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc.target/i386/pr70007.c: New test.
index d182d88fa56a9991bb7b5e4edb4febc400d9261f..15e84290edc1dcc859f9f353f46cc72c41e7bc97 100644 (file)
@@ -52,8 +52,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
index 100462458e5681fe635e7596ebcff8a785548816..db09b78ad6f5b2ef5505cb56589ec2295cfee4c6 100644 (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