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]
Other format: [Raw text]

Re: [cygwin/mingw32] DBX_REGISTER_NUMBER vs DWARF2_FRAME_REF_OUT


> Date: Thu, 27 Jul 2006 09:46:36 +1200
> From: Danny Smith <dannysmith@clear.net.nz>
> 
> From: Mark Kettenis [mailto:mark.kettenis@xs4all.nl] 
> 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


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