This is the mail archive of the gcc-patches@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: [PATCH] Add tree and rtl accessor functions for debuggers


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


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