delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/31/14:31:36

Xref: news2.mv.net comp.os.msdos.djgpp:6624
From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Remote debuggery with GDB
Date: Mon, 29 Jul 1996 10:29:51 GMT
Lines: 30
Message-ID: <838636085.9947.1@abwillms.demon.co.uk>
NNTP-Posting-Host: abwillms.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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...

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>

- Raw text -


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