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: [PATCH] Symplify macro in symtab.h


This patch "removes" the large macro SYMBOL_INIT_LANGUAGE_SPECIFIC.
It doesn't really get rid of it, because the first parameter can be a
partial symbol, a minimal symbol, or a full symbol, and we need to
still let the macro pass into the function the common ginfo field of
the p/m/symbol structure.

Similar approach had been taken earlier for the
SYMBOL_INIT_DEMANGLED_NAME macro.
Ah, but at least we can now step through it!! Nice.

Andrew



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