Re: [Qemu-devel] [PATCH] scripts: add 'qemu coroutine' command to qemu-gdb.py

2015-04-08 Thread Stefan Hajnoczi
On Thu, Mar 26, 2015 at 10:42 PM, Stefan Hajnoczi wrote: > The 'qemu coroutine ' GDB command prints the > backtrace for a CoroutineUContext. This is useful for peeking inside > yielded coroutines that are waiting for file descriptor events, timers, > etc. > > For example: > > $ gdb tests/test-c

[Qemu-devel] [PATCH] scripts: add 'qemu coroutine' command to qemu-gdb.py

2015-03-26 Thread Stefan Hajnoczi
The 'qemu coroutine ' GDB command prints the backtrace for a CoroutineUContext. This is useful for peeking inside yielded coroutines that are waiting for file descriptor events, timers, etc. For example: $ gdb tests/test-coroutine (gdb) b test_yield (gdb) r (gdb) b qemu_coroutine_enter