delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/03/07:15:06

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Remote debugging over a serial cable
Date: 3 Jun 2003 10:55:36 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 36
Message-ID: <bbhur8$nha$1@antares.lu.erisoft.se>
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>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Vincent (spam AT spam DOT com) wrote:
: I compile on WinXP using DJGPP, and pretty much copy it over (via floppy) to
: the target machine.

: I also use UPX to compress the executable (original size is about 11MB,
: compressed to about 700kb). I think UPX strips symbols from the exe. Given
: that I use UPX, I'm not sure whether remote debugging (or even using GDB)
: would work.

11MB -> 0.7MB?! Typo?

If you want to have any sensible debugging session you must have the
debug symbols present.

: Even if it did, the symbol file would probably be too big to copy onto a
: floppy to transfer to the target machine. The application also uses the
: CWSDPMI stub - but I think GDB should handle this.

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

: 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?

: ps. It's a long story why I'm compiling for DOS, let alone using an DOS
: machine...just don't ask :-)

Those who are here do that all the time. Otherwise we wouldn't be
using DJGPP, would we?


Right,

						MartinS

- Raw text -


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