PATCH: miscellaneous nits in NetBSD configuration

Todd Vierling tv@pobox.com
Thu Jul 30 16:56:00 GMT 1998


On Thu, 30 Jul 1998, Krister Walfridsson wrote:

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

: The problem is that defaults.h does
: 
:    #if !defined (DWARF2_UNWIND_INFO) && defined (INCOMING_RETURN_ADDR_RTX)
:    #define DWARF2_UNWIND_INFO 1
:    #endif

Then there's something wrong here.

Defining it to 0 turns on a /lot/ of code that shouldn't be there if it is
not supported.  A bunch of C files are using #ifdef DWARF2_UNWIND_INFO,
which obviously isn't right if it's going to be unconditionally set to 1 in
the case above.

Now I don't know what the right fix is.

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




More information about the Gcc mailing list