On Tue, Nov 17, 2009 at 07:57:03PM +0100, Klaus Espenlaub wrote:
> Nicolas Williams wrote:
> >I'm interested in writing a GDB remote debug protocol adapter for the
> >VBox debugger.  I've successfully used the 'runscript' command to read
> >commands from a pipe.
> >
> >Now I just need a way to redirect or log the debugger output where I can
> >get at it.  How would I do that?  The log/logdest/logflags commands look
> >potentially useful for this, but it's utterly unclear how to use them.
> >
> >Even better would be a way to get the debugger command-line to attach to
> >a pipe, pty master or files directly (i.e., without a window).
> >
> >Any ideas?
> 
> You could enable the TCP support in the debugger and connect that way. 
> The extradata key should be "VBoxInternal/DBGC/Enabled" - set it to 1. 
> You can change the port (.../Port, defaults to 5000) and the listen 
> address (.../Address) as well of course. The debugger will be not 
> enabled (silently) if the port number collides with already running apps.

I'll try this later today.  Thanks!

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to