From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Debugging bison source with gdb Date: Thu, 31 Jul 1997 12:35:55 +0200 Organization: TU Chemnitz-Zwickau Lines: 26 Message-ID: <33E06A8B.5D420139@Mathematik.TU-Chemnitz.DE> References: <33DE6A12 DOT 1718 AT evolution DOT org> NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Makulik wrote: > > Does anyone know a way to tell GCC or GDB to use the .y source file > explicitely to be shown in the debugger and to be associated with > the line numbers? This is the limitaton of the standard COFF debugging information which is produced as deafult by gcc. This can solved only, if your gcc is able to produce stabs debugging information. If you have the time and the diskspace you can get a patch from SET's website for gcc and then rebuild gcc. I don't know the exact address of SET's page, but I think you can search DJ's mail archive for that topic which was posted already some times here. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************