Date: Sun, 9 Feb 1997 13:30:14 +0200 (IST) From: Eli Zaretskii To: Duncan Murdoch cc: djgpp AT delorie DOT com Subject: Re: f2c, djgpp, and gdb In-Reply-To: <32fdfec7.21756345@news.bris.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 8 Feb 1997, Duncan Murdoch wrote: > I'm trying to use f2c with djgpp, and almost everything appears to be > fine except for debugging. There are several suggestions in the > various help files that if I use the f2c -g option to put lines like > > #line 1 "reject.f" > > into the generated C, then gdb should show me the Fortran source, > rather than the C source. However, I can't seem to get that to > happen. I think this is one of the adverse effects of the basic deficiency in the COFF debugging info that DJGPP uses. See section 12.8 of the DJGPP FAQ list for more on this.