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


Neil Booth wrote:
> 
> Hi Stan!
> 
> Stan Shebs wrote:-
> 
> > As someone who has had much of his time consumed by keeping
> > another preprocessor (Apple's cpp-precomp) in sync with GNU cpp,
> > I think we really should try hard to avoid duplicate macro
> > expanders.
> 
> What were the issues?  Subtle differences in macro expansion?  I'm
> curious.

Just about everything you can think of. :-) GNU extensions,
predefined symbols, pathname search orders, token pasting, etc.
GNUisms like vararg macros (now a C99ism too I guess) have
probably accounted for the most work.

Stan


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