This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: C/C++ preprocessor macro support for GDB
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Date: Sun, 17 Mar 2002 10:19:38 +0000
- Subject: Re: RFC: C/C++ preprocessor macro support for GDB
- References: <20020317062306.CC96D5E9DE@zwingli.cygnus.com>
Jim Blandy wrote:-
> - Instead of using libcpp, this patch includes a newly-written macro
> expander. It seems to work fine, but this is still a bug. But
> beware, GDB has some weird requirements: you can't just preprocess
> the whole expression at once, and then parse it. (I can explain
> that in more detail if anyone is interested; see the comments the
> patch adds to c-lang.c.)
What are the issues with using libcpp? It would be a good test of its
viability as an independent library to have it used somewhere else.
Neil.