Newsgroups: comp.os.msdos.djgpp From: D DOT J DOT Murdoch AT bris DOT ac DOT uk (Duncan Murdoch) Subject: f2c, djgpp, and gdb Content-Type: text/plain; charset=us-ascii Message-ID: <32fdfec7.21756345@news.bris.ac.uk> Sender: usenet AT fsa DOT bris DOT ac DOT uk (Usenet) Content-Transfer-Encoding: 7bit Organization: University of Bristol, England Mime-Version: 1.0 Date: Sat, 8 Feb 1997 22:39:07 GMT Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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. Has anyone got this to work, or is it impossible? Any hints would be appreciated. Duncan Murdoch