From: Doug Evans Date: Mon, 24 Feb 2014 21:39:14 +0000 (-0800) Subject: lib/gdb.exp (run_on_host): Log error output if program fails. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50cc37c8491b151ac4fd22d8bd45387bf3cb75da;p=binutils-gdb.git lib/gdb.exp (run_on_host): Log error output if program fails. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9b409cb2684..9fa0e967705 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-02-24 Doug Evans + + * lib/gdb.exp (run_on_host): Log error output if program fails. + 2014-02-21 Pedro Alves * gdb.threads/step-after-sr-lock.c: Rename to ... diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 9e14da96b25..2d04a8cb97b 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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 }