test/guest-debug: echo QEMU command as well

This helps with debugging.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210108224256.2321-3-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2021-01-08 22:42:38 +00:00
parent 9e5acb373d
commit 5662ab11f6

View file

@ -53,6 +53,7 @@ def get_args():
cmd = "%s %s -g %s %s" % (args.qemu, args.qargs, socket_name,
args.binary)
print("QEMU CMD: %s" % (cmd))
inferior = subprocess.Popen(shlex.split(cmd))
# Now launch gdb with our test and collect the result