Mail Archives: djgpp/1999/12/09/13:39:59

Date: Thu, 9 Dec 1999 19:21:04 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Steve Goodrich <steveg AT cirris DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Debugging with Windows (or Linux)
In-Reply-To: <82oiid$s76$>
Message-ID: <Pine.SUN.3.91.991209191644.23317I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 9 Dec 1999, Steve Goodrich wrote:

> I am working on a new remote debugging stub for djgpp and gdb. I almost 
> have it working but the djgpp version of gdb kills Windows 98 fairly 
> regularly.

Which port are you using?  Is this the port of GDB 4.18 available from 
SimTel.NET mirrors?  That port works for me flawlessly on Windows 95, it 
has never killed Windows; in fact, it didn't crash even once on me.  So 
please post the details, if you use the latest port.

> The cygwin version of gdb does not seem to know how to handle 
> djgpp exes. Is there a way to compile gdb either for Win32 with Cygwin or 
> with Linux so that it will handle djgpp generated files?

You cannot do that, I'm afraid.  Debugging a DJGPP program requires 
special type of load-and-run procedure, which is only available in the 
debuggers built as DJGPP programs.  They need to be linked against 
libdbg.a debug support library, and they need the code on go32-nat.c in 
the GDB distribution.
> I would really like to finish this and I am going to put the stub out 
> there for all to use after it is finished (if anyone wants the source I 
> have now, let me know. It is about 75 percent functional but it cannot 
> single step yet)

I suggest to solve the crashes first.

- Raw text -

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