Skip to content

Commit d1234bc

Browse files
marc-hblgirdwood
authored andcommitted
xtensa-host.sh: log the full command including the timeout prefix
Replace the custom and incomplete command logging with a simpler set -x. ../sof/qemu-check.sh and maybe others invoke this script with a non-zero ${TIMEOUT} to stop qemu. This prints the following line every time; even in successful cases which can be confused qemu-system-xtensa: terminating on signal 15 from pid 9823 (timeout) Logging the timeout prefix reduces this confusion Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 1ac98ca commit d1234bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xtensa-host.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ rm -fr /dev/mqueue/qemu-io-*
197197
# (gdb)
198198
#
199199

200-
echo "${MY_DIR}"/xtensa-softmmu/qemu-system-xtensa -cpu $CPU -M $ADSP $TARGS $DARGS $IARGS -nographic $KERNEL $ROM $CARGS $GARGS \> "$LOG"
200+
set -x
201201
if [ -z ${TIMEOUT} ]; then
202202
"${MY_DIR}"/xtensa-softmmu/qemu-system-xtensa -cpu $CPU -M $ADSP $TARGS $DARGS $IARGS -nographic $KERNEL $ROM $CARGS $GARGS -semihosting;
203203
else

0 commit comments

Comments
 (0)