Mail Archives: djgpp/1996/08/05/12:08:20
At 10:29 29/07/96 GMT, Alaric B. Williams wrote:
>
>I've got an old PC (not an XT, a /PC/, as in before the XT) lying
>around, and was wondering if I could arrange GDB's console I/O to go
>to a terminal emulator on it via a serial line from my PC, thus
>providing a snazzy debug console.
>
>How would I go about this, before I buy a serial card and cable?
>
>Would:
>
>GDB myprog < com2: > com2:
>
>work? It'd be a bit awkward that DOS level IO from my app might get
>redirected (do exception dumps go to stdout?), although my software is
>mostly graphical with custom keyboard handlers and all that (thus the
>snaziness of remote debugging!)
>
>The GDB dox say little about this, other than that the debuggee shares
>stdout and stdin... it'd be kinda cool if this could be changed...
In the info file about gdb there is a full chapter in remote debugging. In a
nutshell, you have to set a kind of server in the debuggee program which
will work trhough a protocol described in the document.
The hard part is that IFAIK there is not one such implementation (yet) for
DJGPP.
>
>Thanx,
>
>
>ABW
>--
>I have become... Comfortably numb...
>
>Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
><A
HREF="http://www.hardcafe.co.uk/Alaric/">http://www.hardcafe.co.uk/Alaric/</A>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br
DME/ASC Phone: 55-11-268-35221Ext.350
IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996
Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Raw text -