Re: [PATCH 3/3] scripts/qemu-gdb: Support coroutine dumps in coredumps

2024-12-11 Thread Peter Xu
On Wed, Dec 11, 2024 at 03:17:39PM -0500, Peter Xu wrote: > Dumping coroutines don't yet work with coredumps. Let's make it work. > > We still kept most of the old code because they can be either more > flexible, or prettier. Only add the fallbacks when they stop working. > > Currently the raw

[PATCH 3/3] scripts/qemu-gdb: Support coroutine dumps in coredumps

2024-12-11 Thread Peter Xu
Dumping coroutines don't yet work with coredumps. Let's make it work. We still kept most of the old code because they can be either more flexible, or prettier. Only add the fallbacks when they stop working. Currently the raw unwind is pretty ugly, but it works, like this: (gdb) qemu bt Corouti