qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] [PATCH] gdb command: qemu aios, qemu aiohandlers
Date: Tue, 27 Oct 2015 13:13:22 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

* Paolo Bonzini (address@hidden) wrote:
> 
> 
> 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.

I've just posted a new version with all the other changes in, but
I can easily change that one when the trace change lands.

Dave

> 
> Paolo
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK



reply via email to

[Prev in Thread] Current Thread [Next in Thread]