aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdb.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-02-24 13:39:14 -0800
committerDoug Evans <dje@google.com>2014-02-24 13:39:14 -0800
commit50cc37c8491b151ac4fd22d8bd45387bf3cb75da (patch)
tree17915e86e99882c5e499740c5b69692bbd8dd31f /gdb/testsuite/lib/gdb.exp
parente96027e0d9b0a600aabd2c1c7cfdde6ce6d076e8 (diff)
downloadgdb-50cc37c8491b151ac4fd22d8bd45387bf3cb75da.zip
gdb-50cc37c8491b151ac4fd22d8bd45387bf3cb75da.tar.gz
gdb-50cc37c8491b151ac4fd22d8bd45387bf3cb75da.tar.bz2
lib/gdb.exp (run_on_host): Log error output if program fails.
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r--gdb/testsuite/lib/gdb.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 9e14da9..2d04a8c 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
}