Date: Wed, 18 Sep 1996 11:00:41 +0200 (IST) From: Eli Zaretskii To: "E. Schmidt" 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.