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: PATCH: miscellaneous nits in NetBSD configuration


On Thu, 30 Jul 1998, Krister Walfridsson wrote:

: > 	* config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0.
: > 	* config/m68k/netbsd.h: Same.
: > 	* config/ns32k/netbsd.h: Same.
: > 	* config/sparc/netbsd.h: Same.
: 
: These are wrong; they'll give you 

Uh, they should be correct - defining it to 0 means that it turns /ON/
DWARF2_UNWIND_INFO.  The point was to turn it /off/.

Undefining it was the correct course of action, because it is checked in gcc
code by #ifdef, not #if.  (This was already done for arm32, in fact.)

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)



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