This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Macro and Define
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: Re: Macro and Define
- From: Stan Shebs <shebs at apple dot com>
- Date: Mon, 14 Aug 2000 18:50:10 -0700
- CC: "GDB (E-mail)" <gdb at sourceware dot cygnus dot com>
- References: <21DDE8E5343ED411840A00A0CC33402010483A@exchange.sdesigns.com>
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