sparc64 and DWARF2

Zack Weinberg zack@codesourcery.com
Tue Jan 29 13:48:00 GMT 2002


On Tue, Jan 29, 2002 at 10:05:00AM -0800, Andrew Macleod wrote:
> 
> Can we make DWARF2 the default debugging format for sparc64 on
> solaris 2.7+ ?

I have no comment on the content of the change, but...

> #ifdef PREFERRED_DEBUGGING_TYPE
> #undef PREFERRED_DEBUGGING_TYPE
> #endif

> #ifdef LINKER_DOES_NOT_WORK_WITH_DWARF2
> #undef LINKER_DOES_NOT_WORK_WITH_DWARF2
> #endif

Don't bother testing whether a macro is defined, just #undef it
unconditionally.  The directive is ignored if the macro is not already
defined.  This has been true all the way back to the original Reiser
preprocessor.

zw



More information about the Gcc-bugs mailing list