Path: utzoo!attcan!uunet!jarthur!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!mips!apple!hercules!julius.csl.sri.com!donovan From: donovan@julius.csl.sri.com (Donovan Hsieh) Newsgroups: comp.lang.c Subject: debugging embedded user C code in SUN YACC Message-ID: <15893@hercules.csl.sri.com> Date: 1 Mar 90 19:21:00 GMT Sender: usenet@csl.sri.com Reply-To: donovan@julius.csl.sri.com (Donovan Hsieh) Organization: SRI International, Computer Science Lab, Menlo Park, CA Lines: 22 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@csl.sri.com