How to enable debug code?

Fei Ding <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAGmPkfKZY6LaKsOHMnDMMFtpHmDE5-ahJ7+WFDiPABTXif_0-A@mail.gmail.com>
Hi, there:

I met some problem when enabling debug code, here it is:

I want to debug the YACC of GDB command line. Specifically, I want
this code to work: `YYDPRINTF ((stderr, "Starting parse\n"));', which
at c-exp.c

So I've tried
1. make 'CFLAGS=-DYYDEBUG'
2. make YYDEBUG=1

Both failed. Any hint? Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.