This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add tree and rtl accessor functions for debuggers
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: [PATCH] Add tree and rtl accessor functions for debuggers
- From: Stan Shebs <shebs at apple dot com>
- Date: Thu, 10 May 2001 16:22:43 -0700
- CC: tromey at redhat dot com, ira at apple dot com, gcc-patches at gcc dot gnu dot org
- References: <87u22t5c9v.fsf@creche.redhat.com> <20010510151008R.mitchell@codesourcery.com>
Mark Mitchell wrote:
>
> It shouldn't be a very big project given that DWARF2 can conveniently
> represent macro definitions and that cpplib makes expanding macros a
> snap.
I've looked into this a bit, since I fantasize about doing this myself
someday, and it's a multi-month project for someone who knows something
about both GCC and GDB, even just for Dwarf2. Amusing details include
macros whose expansions are different at different points in the source,
and getting cpplib to link into a completely different program - and
to keep it linking as GCC and GDB change (GCC and GDB folks can't even
agree to have a single repository :-( ).
Stan