Hi,

> btw does it still use -fsjlj method for exception handling?

sjlj and dwarf2 work. But the problem with CURRENT is that this patch seems
to be needed. (Patch from Alexander Kabaev)

Index: config/i386/freebsd.h
===================================================================
RCS file: /usr/ncvs/src/contrib/gcc/config/i386/freebsd.h,v
retrieving revision 1.56
diff -u -r1.56 freebsd.h
--- config/i386/freebsd.h       21 Jun 2002 22:53:03 -0000      1.56
+++ config/i386/freebsd.h       26 Jun 2002 20:55:44 -0000
@@ -385,11 +385,9 @@
 #define DBX_CHECK_FUNCTION_FIRST TARGET_ELF

 #undef  DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) (TARGET_64BIT ? dbx64_register_map[n]   \
-                               : (write_symbols == DWARF2_DEBUG        \
-                                 || write_symbols == DWARF_DEBUG)      \
-                                 ? svr4_dbx_register_map[(n)]          \
-                                 : dbx_register_map[(n)])
+
+#define DBX_REGISTER_NUMBER(n) \
+  (TARGET_64BIT ? dbx64_register_map[n] :svr4_dbx_register_map[(n)])

 /* tag end of file in elf mode */
 #undef  DBX_OUTPUT_MAIN_SOURCE_FILE_END


Martin



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to