This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

translating synchronous signals into exceptions


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]