This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: C/C++ preprocessor macro support for GDB


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]