From a201b0ff28d9fa0f965450c1ba7191eca69f9fd5 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 12 Oct 2015 10:02:54 +0200 Subject: 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 Message-id: 1444636974-19950-4-git-send-email-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi --- scripts/qemu-gdb.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/qemu-gdb.py') diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py index d6f2e5a..ef2fd19 100644 --- a/scripts/qemu-gdb.py +++ b/scripts/qemu-gdb.py @@ -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') -- cgit v1.1