This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Re: SIGFPE -> ArithmeticException ?
- To: green@cygnus.com
- Subject: Re: SIGFPE -> ArithmeticException ?
- From: Andrew Haley <aph@pasanda.cygnus.co.uk>
- Date: 30 Jun 1999 08:36:51 -0000
- CC: java-patches@sourceware.cygnus.com, bryce@albatross.co.nz
> Date: Tue, 29 Jun 1999 19:45:05 -0700
> From: Anthony Green <green@cygnus.com>
>
> Andrew -
>
> I just spoke with rth about this:
>
> > 1999-06-25 Andrew Haley <aph@cygnus.com>
> >
> > * include/i386-signal.h: Rewritten to use SystemV style ucontext
> > signal handlers where possible.
>
> It turns out that the signature for handlers in the old scheme is really:
>
> static void my_handler (int sig, struct sigcontext_struct ctx);
>
> and not
>
> static void my_handler (int sig);
>
> This is not what the manpage says - but that's linux for you :-) This
> _should_ work with all versions of the kernel, although he recommends
> using the new scheme on systems that support it.
Well, that's more-or-less what I was doing. However, I'll try the
small change. Oddly, Bryce is getting a SEGV with the new handler.
Weirder and weirder...
Andrew.