| delorie.com/archives/browse.cgi | search |
| Message-ID: | <33DE6A12.1718@evolution.org> |
| Date: | Wed, 30 Jul 1997 00:09:22 +0200 |
| From: | Makulik <makulik AT evolution DOT org> |
| Reply-To: | makulik AT evolution DOT org |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Debugging bison source with gdb |
| NNTP-Posting-Host: | up55.ro.evosys.net |
| Lines: | 20 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |