diff options
author | 2020-12-17 17:54:36 +0200 | |
---|---|---|
committer | 2021-01-12 12:38:03 +0100 | |
commit | b9a0de3773ff2cae858434d44ef04ee257025c76 (patch) | |
tree | 5ad344c9a9ac47774d7599f01a6c8c12d7bd5230 /scripts/qemu-gdb.py | |
parent | scripts/gdb: fix 'qemu coroutine' when users selects a non topmost stack frame (diff) | |
download | qemu-b9a0de3773ff2cae858434d44ef04ee257025c76.tar.xz qemu-b9a0de3773ff2cae858434d44ef04ee257025c76.zip |
scripts/gdb: implement 'qemu bt'
This script first runs the regular gdb's 'bt' command, and then if we are in a
coroutine it prints the coroutines backtraces in the order in which they
were called.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20201217155436.927320-3-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qemu-gdb.py')
-rw-r--r-- | scripts/qemu-gdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py index e0bfa7b5a4..4d2a9f6c43 100644 --- a/scripts/qemu-gdb.py +++ b/scripts/qemu-gdb.py @@ -40,6 +40,7 @@ timers.TimersCommand() coroutine.CoroutineSPFunction() coroutine.CoroutinePCFunction() +coroutine.CoroutineBt() # Default to silently passing through SIGUSR1, because QEMU sends it # to itself a lot. |