This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: regno_reg_rtx and related macros
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Re: regno_reg_rtx and related macros
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 18 Dec 1999 15:08:40 -0800
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <9912181955.AA22941@vlsi1.ultra.nyu.edu>
>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:
Richard> No, not really. In an OO environment, the debugger knows
Richard> how to display objects when the user cuts and pastes the
Richard> same expression on his screen. But here they are macros,
Richard> so GDB can't do it. That's the major difference.
That's a difference. Dare I suggest fixing GDB?
I see this as a deficiency in the debugger, and I don't think it's
worth *in this case* obfuscating the code in GCC. I can imagine cases
where the tradeoffs would be balanced differently, but here I think
the status quo is good. Improvements would include, as I mentioned:
o Fixing GDB.
o Adding .gdbinit improvements.
o Adding functions to use in the debugger.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com