Re: [Qemu-devel] [PATCH 4/4] scripts/qemugdb: backtraces for coroutines in coredump

2018-04-04 Thread Stefan Hajnoczi
On Wed, Mar 28, 2018 at 08:32:38PM +0300, Vladimir Sementsov-Ogievskiy wrote: > We can't get coroutine backtrace through obvious way > - set regs > - bt > - restore regs > when debugging a coredump. > So, let's go hard way: clone current coredump file, patch regs > in it and execute a subprocess

[Qemu-devel] [PATCH 4/4] scripts/qemugdb: backtraces for coroutines in coredump

2018-03-28 Thread Vladimir Sementsov-Ogievskiy
We can't get coroutine backtrace through obvious way - set regs - bt - restore regs when debugging a coredump. So, let's go hard way: clone current coredump file, patch regs in it and execute a subprocess gdb to get backtrace from this patched coredump. Signed-off-by: Vladimir Sementsov-Ogievsk