Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 13:54:40 -0400
From:      Alexander Kabaev <ak03@gte.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Need testers: patch for CURRENT C++ troubles
Message-ID:  <20020625175440.GA90843@kanpc.gte.com>

next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020625175440.GA90843>