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: Andrew Cagney <ac131313 at cygnus 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: Mon, 18 Mar 2002 10:39:16 -0500
- Subject: Re: RFC: C/C++ preprocessor macro support for GDB
- References: <20020317062306.CC96D5E9DE@zwingli.cygnus.com>
> The following patch adds support for C/C++ preprocessor macros to GDB.
> It's tentative:
>
> - There are no ChangeLog entries.
> - It's not broken up into relatively independent changes.
> - There's no documentation.
> - There are no tests.
> - There are some unimplemented features.
>
> I'll put it in proper form and re-post it soon, but I'm putting it out
> now in hopes that folks will try it out and send me bug reports and
> suggestions.
>
> 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.
Hmm, nice!
Andrew