This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
translating synchronous signals into exceptions
- From: Benjamin Collar <benjamin dot collar at siemens dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 03 Dec 2004 13:34:39 +0100
- Subject: translating synchronous signals into exceptions
- Organization: CT SE2 Siemens
Greetings everyone,
I'm working on a project with customers who come from a Windows
background, are not comfortable with signal-handling in C++ and would
prefer to throw exceptions from signal-handlers.
I saw a message on the GCC mailing list
http://gcc.gnu.org/ml/gcc/2004-09/msg00725.html , where it's explained
explained how it could be accomplished for synchronous signals. This is
exactly what they are looking for. The difficulty I have at the moment
is that they are using the AMD 64 platform. Looking at the header
libjava/include/x86_64-signal.h, I see that SEGV is handled but, unlike
i386, FPE is not.
Can someone explain why FPE is not handled? Is there a plan for handling
FPE in the near future?
Thank you for your time
Ben
--
Benjamin Collar
Siemens AG
CT SE 2
Embedded Linux
089-636-53711