I made the following patch to get C++ exceptions working with system GCC 3.1. STLPort and all other previously failing test cases appear to be working fine.
Please test this patch and let me know if it breaks anything. -- 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 24 Jun 2002 13:57:37 -0000 @@ -390,6 +390,8 @@ || write_symbols == DWARF_DEBUG) \ ? svr4_dbx_register_map[(n)] \ : dbx_register_map[(n)]) +#define DWARF_FRAME_REGNUM(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 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message