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
2 changed files with 8 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue