sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added to signal options to allow the same exceptions to be rethrown...
1999-05-21 Andrew Haley <aph@cygnus.com> * include/sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added to signal options to allow the same exceptions to be rethrown later. From-SVN: r27079
This commit is contained in:
parent
9c2553ff59
commit
21635bd688
@ -1,3 +1,9 @@
|
||||
1999-05-21 Andrew Haley <aph@cygnus.com>
|
||||
|
||||
* include/sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added
|
||||
to signal options to allow the same exceptions to be rethrown
|
||||
later.
|
||||
|
||||
1999-05-20 Andrew Haley <aph@cygnus.com>
|
||||
|
||||
* libjava/prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW
|
||||
|
@ -42,7 +42,7 @@ do \
|
||||
nullp = new java::lang::NullPointerException (); \
|
||||
struct sigaction act; \
|
||||
act.sa_sigaction = catch_segv; \
|
||||
act.sa_flags = SA_SIGINFO; \
|
||||
act.sa_flags = SA_SIGINFO | SA_NODEFER; \
|
||||
sigemptyset (&act.sa_mask); \
|
||||
sigaction (SIGSEGV, &act, NULL); \
|
||||
} \
|
||||
@ -54,7 +54,7 @@ do \
|
||||
arithexception = new java::lang::ArithmeticException \
|
||||
(JvNewStringLatin1 ("/ by zero")); \
|
||||
struct sigaction act; \
|
||||
act.sa_flags = SA_SIGINFO; \
|
||||
act.sa_flags = SA_SIGINFO | SA_NODEFER; \
|
||||
act.sa_sigaction = catch_fpe; \
|
||||
sigemptyset (&act.sa_mask); \
|
||||
sigaction (SIGFPE, &act, NULL); \
|
||||
|
Loading…
Reference in New Issue
Block a user