Message-ID: <33DE6A12.1718@evolution.org> Date: Wed, 30 Jul 1997 00:09:22 +0200 From: Makulik Reply-To: makulik AT evolution DOT org MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Debugging bison source with gdb Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: up55.ro.evosys.net Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit Precedence: bulk Hi, I want to debug a program containing code generated by bison with GDB. When I'm entering the .cc source bison produced from the .y file GDB is quite confused by the #line pragmas bison put in the .cc source. 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? Thanks for any advice Günther -- ~~o~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ O o __/|_ "I'm swimming, | Guenther Makulik O /* \/| I'm swimming ..." | E-Mail: makulik AT evolution DOT org \_U___/\| (Sonic Youth) | http://members.evolution.org/gmakulik/