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: mark at codesourcery dot com
- Subject: Re: regno_reg_rtx and related macros
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sat, 18 Dec 99 14:55:31 EST
- Cc: gcc at gcc dot gnu dot org
These debugging problems are the same one sees in any object-oriented
environment; all Bernd has done is packaged stuff up in objects.
No, not really. In an OO environment, the debugger knows how to
display objects when the user cuts and pastes the same expression on
his screen. But here they are macros, so GDB can't do it. That's the
major difference.
The whole point behind OO is information hiding, but that hiding needs to
be known in order to display values in the debugger using the present scheme.