> Date: Thu, 27 Jul 2006 09:46:36 +1200 > From: Danny Smith <[EMAIL PROTECTED]> > > From: Mark Kettenis [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 27, 2006 9:34 AM > > > The best thing to do is probably to define > > DWARF2_FRAME_REG_OUT to always use the SVR4 register map. > > Thanks for that advice. I'm in process of testing with > the simple one-line change: > > #define DBX_REGISTER_NUMBER(n) svr4_dbx_register_map[n]
That'd be bad, since it will break debugging code compiled with -gstabs in a very confusing way. And it would be impossible to fix in GDB without screwing over people that are still using older versions of GCC. Mark