This is the mail archive of the gcc@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: regno_reg_rtx and related macros


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


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