www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/18/04:25:20

Date: Wed, 18 Sep 1996 11:00:41 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "E. Schmidt" <eds AT hpfs1 DOT physik DOT uni-jena DOT de>
Cc: djgpp AT delorie DOT com
Subject: Re: Needed: Quick HOW-TO DEBUG
In-Reply-To: <51m96f$oco@fsuj19.rz.uni-jena.de>
Message-Id: <Pine.SUN.3.91.960918105704.403F-100000@is>
Mime-Version: 1.0

On 17 Sep 1996, E. Schmidt wrote:

> It seems to me that I have installed fsdb and gdb.
> All my efforts to obtain the source in debuggers failed,
> inspite of the "-g"/"-g3"... options. I give up!....

Make sure you use -g both when compiling and linking, and that you do NOT 
use -s when linking.

> 
> I am a very lazy person. The best thing for me can be some example
> of debug session.

Even a lazy person should read the chapter about debugging in the DJGPP 
FAQ list.  Have you read it?  If not, get the file v2/faq201b.zip from 
the same place you get DJGPP, and read chapter 12 there.  It explains 
some of the common problems people (who don't read the FAQ) have with 
gdb.

- Raw text -


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