www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/05/12:08:20

Date: Mon, 5 Aug 1996 15:21:16 -0300
Message-Id: <1.5.4.16.19960805124008.373f8d66@dmeasc.rc.ipt.br>
Mime-Version: 1.0
To: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams), djgpp AT delorie DOT com
From: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
Subject: Re: Remote debuggery with GDB

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019