mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
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>
This commit is contained in:
parent
23ea425c14
commit
5bf10468b6
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue