This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Re: C Macro information and -g3


> I have gcc 2.8.1 and would like to know if the new version
> supports -g3. See below, thanks.

It does, as indicated in the documentation.

>      Level 3 includes extra information, such as all the macro
>      definitions present in the program.  Some debuggers support macro
>      expansion when you use `-g3'.

Not all debugging formats support this extra information. In
particular, gdb debugging (i.e. stabs) does not support that. You
could try to use -gdwarf, which does support macro recording.

Regards,
Martin


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