This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: C/C++ preprocessor macro support for GDB
Zack Weinberg <zack@codesourcery.com> writes:
> 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.
Yes, it does! That's great --- so the GDB patch is useable as it
stands.