delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/03/17:00:05

From: torty5737 AT my-deja DOT com (Henry Nebrensky)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Remote debugging over a serial cable
Date: 3 Jun 2003 13:51:55 -0700
Organization: http://groups.google.com/
Lines: 34
Message-ID: <310ccc6e.0306031251.18ad024a@posting.google.com>
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>
NNTP-Posting-Host: 134.83.1.225
X-Trace: posting.google.com 1054673515 32437 127.0.0.1 (3 Jun 2003 20:51:55 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 3 Jun 2003 20:51:55 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

eplmst AT lu DOT erisoft DOT se (Martin Stromberg) wrote in message news:<bbhur8$nha$1 AT antares DOT lu DOT erisoft DOT se>...
> Vincent (spam AT spam DOT com) wrote:
...
> : And supposing I did have GDB, the .exe and symbols on the target machine,
> : the application uses graphics - so command-line operation will be difficult.
> 
> Oh, that will be difficult. Perhaps fsdb or rhide can handle that?

[ I humbly admit to asking from a position of ignorance here]

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 ? (I've never tried it; so no 
idea what CTTY does with std. error, etc.) 

> Examine djsplit and djmerge. Many floppies (if that 11MB is right) and
> you probably want to transfer the source as well.

At 11M, it doesn't take much compression to save the hassle of an extra 
floppy disk. FWIW, I'd suggest using arj for the floppy transfers, as it 
handles the splitting directly and more neatly than pkzip's spanning 
effort, and the compression's about the same.
Of course, if there's a cable between the two machines anyway...

Henry

("... you'll probably spend longer messing about trying to get serial 
transfers to work than you would have just using floppies in the first 
place" :( )

- Raw text -


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