www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/14/02:50:59

Date: Thu, 14 Jan 1999 09:44:57 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jonathan Brogdon <ra5748 AT email DOT sps DOT mot DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP, GDB and Remote Targets
In-Reply-To: <369CCD4C.9675B5A7@email.sps.mot.com>
Message-ID: <Pine.SUN.3.91.990114094429.29871D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Wed, 13 Jan 1999, Jonathan Brogdon wrote:

> I would like to use GDB (DJGPP version) on my pc to debug a remote
> single board pc target over the serial port.  Has anyone ever tried this
> and/or seen it work?  I realize that I will have to link in the stubs in
> my target.  I was assuming that these stubs have been written.

It was done at some point, long time ago, but that was with DJGPP
v1.x.  Since hooking hardware interrupts is quite different with DJGPP
v2, the old code won't work, and nobody (AFAIK) has rewritten it for
v2.

It shouldn't be too hard, though: you can use one of the available
packages for async communications that are in the v2tk directory on
SimTel.NET mirrors (check out section 22.3 of the FAQ for the exact
pointers).

> I have looked through the GDB 4.16 source from the Delorie web site, and
> tried to simply build the gdb binary, but it failed.  It looks as though
> several files called out in the configuration batch and script files
> have been shortened (I'm not talking about an LFN problem here, I have
> that configured correctly for DJGPP--the short file names are similar to
> the long file name, but they have been abbreviated).  I tried to fix
> these problems as I found them, and mad some progress, but I was still
> unable to build the binary.  Any ideas?

I have successfully built GDB, both in plain DOS and in Windows 9X.
If you have LFN-related problems, the easiest way out is to set LFN=n
in the environment before building.

If this doesn't help, please describe the problems in more detail.

- Raw text -


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