Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!sneaky!hira From: hira@sneaky.bellcore.com (Hira Agrawal) Newsgroups: gnu.gcc Subject: Executing the Gnu Parser (cc1) Under Dbx/Gdb Message-ID: <17136@bellcore.bellcore.com> Date: 3 Jul 89 15:41:09 GMT Sender: news@bellcore.bellcore.com Reply-To: hira@wind.bellcore.com () Organization: Bell Communications Research, Morristown NJ Lines: 16 If I run the cc1 parser under Dbx and set a break-point in yyparse, upon breaking there, why does dbx pickup and display yyparse function declared in bison.simple instead of that in c-parse.tab.c? Using gdb also produces the same behavior. Do I have to do anything special while compiling gcc (other than specifying -g option) to get the right behavior? Is there any other way I can step through various reductions performed by the gcc parser while parsing a C program, and examin the parse trees being constructed? Any help would be greatly appreciated. Thanks. -- Hira. hira@wind.bellcore.com