delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/03/23:36:30

Date: Wed, 04 Jun 2003 06:36:23 +0300
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <9003-Wed04Jun2003063622+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <310ccc6e.0306031251.18ad024a@posting.google.com>
(torty5737 AT my-deja DOT com)
Subject: Re: Remote debugging over a serial cable
References: <rYECa.5598$JA5 DOT 93711 AT news DOT xtra DOT co DOT nz> <557-Tue03Jun2003071400+0300-eliz AT elta DOT co DOT il> <Mv_Ca.7410$JA5 DOT 128942 AT news DOT xtra DOT co DOT nz> <bbhur8$nha$1 AT antares DOT lu DOT erisoft DOT se> <310ccc6e DOT 0306031251 DOT 18ad024a AT posting DOT google DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: torty5737 AT my-deja DOT com (Henry Nebrensky)
> Newsgroups: comp.os.msdos.djgpp
> Date: 3 Jun 2003 13:51:55 -0700
> 
> DOS has the CTTY command which AIUI lets you redirect console I/O to a 
> serial port. 
> 
> So my naive solution to this would be to use this to run gdb on the 
> target machine, but with the "console" on the Windows box - which is 
> what I assumed the OP was trying to do.
> 
> Is this something that won't work ?

Unfortunately, it won't: the DJGPP port of GDB uses an emulation of
the termios functionality that is incompatible with CTTY.  CTTY
requires DOS I/O functions to be used for terminal input/output,
whereas the DJGPP emulation of termios uses BIOS functions.

- Raw text -


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