From owner-freebsd-current Tue Jun 25 10:54:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by hub.freebsd.org (Postfix) with ESMTP id 67C6837B403 for ; Tue, 25 Jun 2002 10:54:43 -0700 (PDT) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.4/8.12.4) with ESMTP id g5PHsebP090911 for ; Tue, 25 Jun 2002 13:54:42 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.4/8.12.4/Submit) id g5PHsefZ090910 for freebsd-current@FreeBSD.ORG; Tue, 25 Jun 2002 13:54:40 -0400 (EDT) Date: Tue, 25 Jun 2002 13:54:40 -0400 From: Alexander Kabaev To: freebsd-current@FreeBSD.ORG Subject: Need testers: patch for CURRENT C++ troubles Message-ID: <20020625175440.GA90843@kanpc.gte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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