lib/gdb.exp (run_on_host): Log error output if program fails.

This commit is contained in:
Doug Evans 2014-02-24 13:39:14 -08:00
parent e96027e0d9
commit 50cc37c849
2 changed files with 5 additions and 0 deletions

View 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 ...

View 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
}