[PATCH] x86emu: improve single-step debugging

Kees Cook kees at outflux.net
Wed Nov 12 16:00:38 PST 2014


This is a seriously old thread, but it's still been hanging around in my
inbox, unresolved...

What's needed to apply my patch to both Xorg and libx86? Neither code bases
have changed in several years, and Xorg is still using its internal copy
instead of the Matthew's external libx86.

Thanks!

-Kees

On Fri, Nov 04, 2011 at 12:35:34AM +0100, Guillem Jover wrote:
> Hi!
> 
> On Wed, 2011-11-02 at 14:32:01 -0700, Kees Cook wrote:
> > On Fri, Oct 07, 2011 at 02:49:03AM +0200, Guillem Jover wrote:
> > > On Thu, 2011-10-06 at 15:49:33 -0700, Alan Coopersmith wrote:
> > > > On 10/ 6/11 03:36 PM, Kees Cook wrote:
> > > > >This allows for other consumers to do single-step decoding/emulation
> > > > >when using x86emu. Additionally adds a stand-alone Makefile for building
> > > > >out of tree, which is very handy for doing emulation debugging.
> > > > 
> > > > What ever happened to the plan to move it out to a separate library that
> > > > Xorg just depends on?   We have another user here who is currently just
> > > > copying the code from Xorg and would prefer to share a library with us.
> > > 
> > > I thought libx86 [0] was supposed to be just that.
> > > [0] <http://www.codon.org.uk/~mjg59/libx86/>
> > 
> > So, until Xorg is linked against libx86, can my patch be applied to the
> > Xorg emulator? From what I can see it is where fixes keep landing.
> 
> Hmm true. So it probably makes sense to apply it in both, so that they
> don't get more out-of-sync. Matthew the patch being talked about here
> can be found at:
> 
>   <http://lists.x.org/archives/xorg-devel/2011-October/026108.html>
> 
> What's your opinion?
> 
> Also, maybe it also would make sense to request that people get patches
> for x86emu first in libx86, before merging them in the X server?
> 
> regards,
> guillem

-- 
Kees Cook                                            @outflux.net


More information about the xorg-devel mailing list