aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
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
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')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/gdb.exp1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9b409cb..9fa0e96 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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 ...
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
}