public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Craig Rodrigues <rodrigc@mediaone.net>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: c++/5282: .so exception handler works in 3.0.2 not 3.0.3
Date: Fri, 04 Jan 2002 20:26:00 -0000	[thread overview]
Message-ID: <20020105042601.8729.qmail@sources.redhat.com> (raw)

The following reply was made to PR c++/5282; it has been noted by GNATS.

From: Craig Rodrigues <rodrigc@mediaone.net>
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");
      }
 
  }
 
 


             reply	other threads:[~2002-01-05  4:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04 20:26 Craig Rodrigues [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-05 16:27 rodrigc
2002-01-05 16:16 Mark Swanson
2002-01-05 15:16 Craig Rodrigues
2002-01-05 15:06 Mark Swanson
2002-01-05 14:14 rodrigc
2002-01-05  6:36 Mark Swanson
2002-01-04 20:53 rodrigc
2002-01-04 18:56 swansma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020105042601.8729.qmail@sources.redhat.com \
    --to=rodrigc@mediaone.net \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).