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
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