aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2024-12-12 15:47:59 -0500
committerKevin Wolf <kwolf@redhat.com>2025-02-06 13:59:00 +0100
commit5bf10468b68816377264e557e91186a2ee129c95 (patch)
tree4c586dc73259631b303b116010d54f15134614d3
parent23ea425c14d3b89a002e0127b17456eee3102ab7 (diff)
downloadqemu-5bf10468b68816377264e557e91186a2ee129c95.zip
qemu-5bf10468b68816377264e557e91186a2ee129c95.tar.gz
qemu-5bf10468b68816377264e557e91186a2ee129c95.tar.bz2
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 <peterx@redhat.com> Message-ID: <20241212204801.1420528-2-peterx@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--scripts/qemu-gdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py
index 4d2a9f6..cfae94a 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')