debugging embedded user C code in SUN YACC
Donovan Hsieh
donovan at julius.csl.sri.com
Fri Mar 2 06:21:00 AEST 1990
I wa strying to use dbx and gdb on the SUN to debug my C codes embedded
in the YACC grammar file. But
the man page of dbx says :
" dbx is confused by the output of program generators such as
yacc(1) and lex(1)."
I tried and found that dbx does not allow you to set break point to
those C codes embedded in the YACC
grammar rules. Gdb also respondes similarly. I would be appreciated if
any one has a work around or better
way to debug it. Please reply to my email address since I don't normally
read this news group.
Thanks,
Donovan Hsieh
Computer Science Lab
SRI International
email : donovan at csl.sri.com
More information about the Comp.lang.c
mailing list