mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
qemu-gdb: add $qemu_coroutine_sp and $qemu_coroutine_pc
These can be useful to manually get a stack trace of a coroutine inside a core dump. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1444636974-19950-4-git-send-email-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
80ab31b257
commit
a201b0ff28
2 changed files with 19 additions and 0 deletions
|
@ -38,6 +38,9 @@ QemuCommand()
|
|||
coroutine.CoroutineCommand()
|
||||
mtree.MtreeCommand()
|
||||
|
||||
coroutine.CoroutineSPFunction()
|
||||
coroutine.CoroutinePCFunction()
|
||||
|
||||
# Default to silently passing through SIGUSR1, because QEMU sends it
|
||||
# to itself a lot.
|
||||
gdb.execute('handle SIGUSR1 pass noprint nostop')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue