From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8759 invoked by alias); 5 Jan 2002 04:26:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 8734 invoked by uid 71); 5 Jan 2002 04:26:01 -0000 Date: Fri, 04 Jan 2002 20:26:00 -0000 Message-ID: <20020105042601.8729.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Craig Rodrigues Subject: Re: c++/5282: .so exception handler works in 3.0.2 not 3.0.3 Reply-To: Craig Rodrigues X-SW-Source: 2002-01/txt/msg00206.txt.bz2 List-Id: The following reply was made to PR c++/5282; it has been noted by GNATS. From: Craig Rodrigues To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, swansma@yahoo.com Cc: Subject: Re: c++/5282: .so exception handler works in 3.0.2 not 3.0.3 Date: Fri, 04 Jan 2002 23:23:28 -0500 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5282 Added by swansma@yahoo.com in PR 5283: ========================================================================= Hello, Not sure how to add info to a bug report. Hopefully this email is the correct way to do it. I just wanted to note that: 1. 5282 contains a testcase 2. 5282 is completely different than 5238 3. The 5282 testcase works on 3.0.2. It does NOT work on 3.0.3 or 3.1 beta with any version of binutils. 4. The include file tuxmodule.h is not needed to make the testcase compile. Here's the replacement: extern "C" { void TUXAPI_init(); int TUXAPI_handle_events (void* req); } #include "syslog.h" #include "TestException.h" int TUXAPI_handle_events (void* req) { return 1; } void TUXAPI_init() { openlog("BugLib", LOG_PID | LOG_CONS | LOG_NDELAY, LOG_DAEMON); syslog(LOG_INFO, "TUXAPI_init()"); try { throw TestException("test123"); return; } catch(TestException e) { // This never happens syslog(LOG_INFO, "Success"); } }