Macro and Define

Stan Shebs shebs@apple.com
Mon Aug 14 18:50:00 GMT 2000


Fabrice Gautier wrote:
> 
> Hi,
> 
> I thought that DWARF2 debug format contained debug information about
> preprocessor #defines. But I,m unable to know the value of some macros in
> the debugger.

Dwarf2 has a specification for how to record macros, but alas, GCC
does not include those in its output, nor does GDB have the machinery
to run a preprocessor over an expression before evaluating it.

Stan


More information about the Gdb mailing list