lib/gdb.exp (run_on_host): Log error output if program fails.
authorDoug Evans <dje@google.com>
Mon, 24 Feb 2014 21:39:14 +0000 (13:39 -0800)
committerDoug Evans <dje@google.com>
Mon, 24 Feb 2014 21:39:14 +0000 (13:39 -0800)
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 9b409cb268469c0c4614e69a577e8731b5198ce8..9fa0e9677055fe6807c3602a1f3e683297ee5ba7 100644 (file)
@@ -1,3 +1,7 @@
+2014-02-24  Doug Evans  <dje@google.com>
+
+       * lib/gdb.exp (run_on_host): Log error output if program fails.
+
 2014-02-21  Pedro Alves  <palves@redhat.com>
 
        * gdb.threads/step-after-sr-lock.c: Rename to ...
index 9e14da96b25939374fc99ff7117a5c324ac42d9f..2d04a8cb97b52b8e743c39059855eb54cd5fcc51 100644 (file)
@@ -4621,6 +4621,7 @@ proc run_on_host { test program args } {
        pass $test
        return 0
     } else {
+       verbose -log "run_on_host failed: $output"
        fail $test
        return -1
     }