This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: C/C++ preprocessor macro support for GDB
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Date: Sun, 17 Mar 2002 00:11:17 -0800
- Subject: Re: RFC: C/C++ preprocessor macro support for GDB
- References: <20020317062306.CC96D5E9DE@zwingli.cygnus.com>
On Sun, Mar 17, 2002 at 01:23:06AM -0500, Jim Blandy wrote:
>
> The patch reads Dwarf 2 macro information, which GCC doesn't currently
> generate. (In fact, I don't know if any compiler generates it at the
> moment.) I've tested it against some hand-written ".debug_macinfo"
> sections, which I'll post in the next message. So it's not actually
> useful yet.
Did you try -gdwarf-2 -g3 (i.e. level 3 of dwarf2 debug)? It's not
generated by default due to the space cost, but I think GCC will do
it.
zw