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


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

    Ira> These files define most of the tree and rtl accessor macros
    Ira> as functions which have the same name and arguments as their
    Ira> corresponding macros (the functions are defined in terms of
    Ira> their macros).

    Tom> Wow, this would be convenient.

It would be even better to teach GDB to do this.

It shouldn't be a very big project given that DWARF2 can conveniently
represent macro definitions and that cpplib makes expanding macros a
snap.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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