diff mbox series

[PULL,05/25] scripts/qemu-gdb: Always do full stack dump for python errors

Message ID 20250210161034.76494-6-kwolf@redhat.com (mailing list archive)
State New
Headers show
Series [PULL,01/25] vpc: Split off vpc_ignore_current_size() helper | expand

Commit Message

Kevin Wolf Feb. 10, 2025, 4:10 p.m. UTC
From: Peter Xu <peterx@redhat.com>

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>
---
 scripts/qemu-gdb.py | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py
index 4d2a9f6c43..cfae94a2e9 100644
--- a/scripts/qemu-gdb.py
+++ b/scripts/qemu-gdb.py
@@ -45,3 +45,5 @@  def __init__(self):
 # 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')