aboutsummaryrefslogtreecommitdiff
path: root/config/gdb_stub.exp
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2023-12-12 13:10:03 +0000
committerJacob Bachmeyer <jcb@gnu.org>2023-12-13 19:59:34 -0600
commitef0e2f97866f42e7197a26ef7ced3d30efacd9a8 (patch)
tree558180f9d20a4d1d48c0c037fce3650c30e4ba52 /config/gdb_stub.exp
parentfbdcba42176e9f76c1d9e898347c91abd8b86df1 (diff)
downloaddejagnu-ef0e2f97866f42e7197a26ef7ced3d30efacd9a8.zip
dejagnu-ef0e2f97866f42e7197a26ef7ced3d30efacd9a8.tar.gz
dejagnu-ef0e2f97866f42e7197a26ef7ced3d30efacd9a8.tar.bz2
Harmonise test execution reporting across protocols
Report both the full command and the timeout value consistently across various communication protocols, and always always output the report to the log file, so that procedures do not have to be locally overridden to extract this data where needed to reproduce an issue by hand. * baseboards/qemu.exp (qemu_load): Add execution reporting. * config/gdb-comm.exp (gdb_comm_load): Likewise. * config/gdb_stub.exp (gdb_stub_load): Likewise. * config/sim.exp (sim_load): Likewise. * config/unix.exp (unix_load): Report full command in addition to timeout value.
Diffstat (limited to 'config/gdb_stub.exp')
-rw-r--r--config/gdb_stub.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/gdb_stub.exp b/config/gdb_stub.exp
index be1369a..447c626 100644
--- a/config/gdb_stub.exp
+++ b/config/gdb_stub.exp
@@ -486,6 +486,8 @@ proc gdb_stub_load { dest prog args } {
set wait_timeout $test_timeout
}
+ verbose -log "Executing on $dest: $prog (timeout = $wait_timeout)" 2
+
set result [remote_spawn $dest $prog]
if { $result < 0 } {