These are two patches that improve a bit the qemu gdb scripts in regard to coroutines.
First patch fixes a bug in 'qemu coroutine' in regard to usage on non topmost stack frame. Second patch implements 'qemu bt' as Stefan suggested. V2, because after hitting 'send' I noticed a few bugs: 1. Switch to try/catch around bt, so that when regular bt fails, we print the same message as original bt. 2. Print the correct co-routine address Best regards, Maxim Levitsky Maxim Levitsky (2): scripts/gdb: fix 'qemu coroutine' when users selects a non topmost stack frame scripts/gdb: implement 'qemu bt' scripts/qemu-gdb.py | 1 + scripts/qemugdb/coroutine.py | 35 ++++++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) -- 2.26.2