Ulrich Weigand wrote:
> 
> Ramon van Handel wrote:
> > Also, is somebody working on a debugger ?
> 
> IIRC, Julian Hall <[EMAIL PROTECTED]> said he wanted to
> look into adding debugging capabilities ... I'm not sure whether
> he's actually working on it already, however.  Maybe you could
> contact him?

I'll contact him.
 
> > If not, I'll
> > start adding a debugger this weekend.  The strategy I
> > was thinking of using in this case is *not* to implement
> > a debugger in user.c, but to add GDB stubs to user.c
> > and then letting you debug the guest through the GDB
> > TCP/IP target.
> 
> Yes, that's an interesting idea.  AFAIK, gdb won't work with segmented
> memory models however, so we probably can't use gdb while the
> guest executes 16-bit or VM86 code.  But as we currently support
> only flat 32-bit guest code anyway, this wouldn't hurt for now ...

Well, I think we could use a few tricks to allow this.
After all, the stub is in control of the information
sent to GDB.  We can translate segmented addresses
into linear addresses for GDB, for instance.  However,
I do believe GDB doesn't support 16-bit code, but I'm
not sure.  Oh well, we'll figure something out...
At last resort we could hack GDB ;)

-- Ramon

Reply via email to