Coroutines are used in many cases in block layers. It's also used in live migration when on destination side, and it'll be handy to diagnose crashes within a coroutine when we want to also know what other coroutines are doing.
This series adds initial support for that, not pretty but it should start working. Since we can't use the trick to modify registers on the fly in non-live gdb sessions, we do manual unwinds. Thanks, Peter Xu (3): scripts/qemu-gdb: Always do full stack dump for python errors scripts/qemu-gdb: Simplify fs_base fetching for coroutines scripts/qemu-gdb: Support coroutine dumps in coredumps scripts/qemu-gdb.py | 2 + scripts/qemugdb/coroutine.py | 73 ++++++++++++++++++++++-------------- 2 files changed, 47 insertions(+), 28 deletions(-) -- 2.47.0