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: tromey at redhat dot com
- Subject: Re: [PATCH] Add tree and rtl accessor functions for debuggers
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 10 May 2001 15:10:08 -0700
- Cc: ira at apple dot com, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <87u22t5c9v.fsf@creche.redhat.com>
>>>>> "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