regno_reg_rtx and related macros

Mark Mitchell mark@codesourcery.com
Fri Dec 31 23:54:00 GMT 1999


>>>>> "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



More information about the Gcc mailing list