Browse Source

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>
pull/281/head
Peter Xu 2 years ago
committed by Kevin Wolf
parent
commit
5bf10468b6
  1. 2
      scripts/qemu-gdb.py

2
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')

Loading…
Cancel
Save