|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers |
Date: | Mon, 26 Oct 2015 04:14:46 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 20/10/2015 13:05, Dr. David Alan Gilbert (git) wrote: > + entry = cur.dereference() > + gdb.write('----\n%s\n' % entry) > + if cur['io_read'] == sym_fd_coroutine_enter: > + coptr = > (cur['opaque'].cast(gdb.lookup_type('FDYieldUntilData').pointer()))['co'] > + coptr = > coptr.cast(gdb.lookup_type('CoroutineUContext').pointer()) > + coroutine.bt_jmpbuf(coptr['env']['__jmpbuf']) The last two lines here can be written as coroutine.bt_jmpbuf(coroutine.coroutine_to_jmpbuf(coptr)) with the head of Stefan's trace branch. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |