Re: [Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2019-01-02 Thread Stefan Hajnoczi
On Thu, Dec 27, 2018 at 05:36:04PM +, Vladimir Sementsov-Ogievskiy wrote: > 23.04.2018 16:28, Pedro Alves wrote: > > On 04/23/2018 02:37 AM, Simon Marchi wrote: > >> On 2018-04-09 10:08 PM, Stefan Hajnoczi wrote: > >>> I wonder what the point of select-frame is then... > >>> > >>> I have CCed

Re: [Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2018-12-27 Thread Vladimir Sementsov-Ogievskiy
23.04.2018 16:28, Pedro Alves wrote: > On 04/23/2018 02:37 AM, Simon Marchi wrote: >> On 2018-04-09 10:08 PM, Stefan Hajnoczi wrote: >>> I wonder what the point of select-frame is then... >>> >>> I have CCed the GDB mailing list. Maybe someone can help us. Context: >>> >>> QEMU implements

Re: [Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2018-04-23 Thread Pedro Alves
On 04/23/2018 02:37 AM, Simon Marchi wrote: > On 2018-04-09 10:08 PM, Stefan Hajnoczi wrote: >> I wonder what the point of select-frame is then... >> >> I have CCed the GDB mailing list. Maybe someone can help us. Context: >> >> QEMU implements coroutines using jmpbuf. We'd like to print

Re: [Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2018-04-23 Thread Vladimir Sementsov-Ogievskiy
23.04.2018 12:33, Stefan Hajnoczi wrote: On Sun, Apr 22, 2018 at 09:37:52PM -0400, Simon Marchi wrote: On 2018-04-09 10:08 PM, Stefan Hajnoczi wrote: I wonder what the point of select-frame is then... I have CCed the GDB mailing list. Maybe someone can help us. Context: QEMU implements

Re: [Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2018-04-23 Thread Stefan Hajnoczi
On Sun, Apr 22, 2018 at 09:37:52PM -0400, Simon Marchi wrote: > On 2018-04-09 10:08 PM, Stefan Hajnoczi wrote: > > I wonder what the point of select-frame is then... > > > > I have CCed the GDB mailing list. Maybe someone can help us. Context: > > > > QEMU implements coroutines using jmpbuf.

Re: [Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2018-04-22 Thread Simon Marchi
On 2018-04-09 10:08 PM, Stefan Hajnoczi wrote: > I wonder what the point of select-frame is then... > > I have CCed the GDB mailing list. Maybe someone can help us. Context: > > QEMU implements coroutines using jmpbuf. We'd like to print coroutine > call stacks in GDB and have a script that

Re: [Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2018-04-09 Thread Stefan Hajnoczi
On Mon, Apr 09, 2018 at 04:01:24PM +0300, Vladimir Sementsov-Ogievskiy wrote: > 04.04.2018 13:34, Stefan Hajnoczi wrote: > > Use the 'select-frame' GDB command to switch stacks instead of manually > > setting the debugged thread's registers (this only works when debugging > > a live process, not

Re: [Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2018-04-09 Thread Vladimir Sementsov-Ogievskiy
04.04.2018 13:34, Stefan Hajnoczi wrote: Use the 'select-frame' GDB command to switch stacks instead of manually setting the debugged thread's registers (this only works when debugging a live process, not in a coredump). Cc: Vladimir Sementsov-Ogievskiy Signed-off-by:

[Qemu-devel] [PATCH] scripts/qemugdb: support coroutine backtrace in coredumps

2018-04-04 Thread Stefan Hajnoczi
Use the 'select-frame' GDB command to switch stacks instead of manually setting the debugged thread's registers (this only works when debugging a live process, not in a coredump). Cc: Vladimir Sementsov-Ogievskiy Signed-off-by: Stefan Hajnoczi ---