]> 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 09:46:03 +0000 (09:46 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 3 Mar 2016 09:46:03 +0000 (09:46 +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: r233930

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

index 1c6e170ce0e85050df3608a241cba9e15d1cb527..159491177232915eaf142e77cf8828349d1b9b56 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-03  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/55936
index c4a636c8a9c275c586e310d646c5bfd7574fab47..9fd6d9f461eb795cd4617e6bf17c2bb004543c02 100644 (file)
@@ -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
index b2b0e98e29a20f8cfa6a62d3d443a2660597bdf4..b33678ffcd3f5be2f387000e602df6c754f3bb06 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