[gnu.gcc] Executing the Gnu Parser

hira@sneaky.bellcore.com (Hira Agrawal) (07/03/89)

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