From: Peter Xu Date: Thu, 12 Dec 2024 20:47:59 +0000 (-0500) Subject: scripts/qemu-gdb: Always do full stack dump for python errors X-Git-Tag: v10.0.0-rc0~59^2~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bf10468b68816377264e557e91186a2ee129c95;p=thirdparty%2Fqemu.git scripts/qemu-gdb: Always do full stack dump for python errors It's easier for either debugging plugin errors, or issue reports. Signed-off-by: Peter Xu Message-ID: <20241212204801.1420528-2-peterx@redhat.com> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py index 4d2a9f6c430..cfae94a2e90 100644 --- a/scripts/qemu-gdb.py +++ b/scripts/qemu-gdb.py @@ -45,3 +45,5 @@ coroutine.CoroutineBt() # Default to silently passing through SIGUSR1, because QEMU sends it # to itself a lot. gdb.execute('handle SIGUSR1 pass noprint nostop') +# Always print full stack for python errors, easier to debug and report issues +gdb.execute('set python print-stack full')