aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/sparc-signal.h
diff options
context:
space:
mode:
authorAndrew Haley <aph@cygnus.com>1999-05-21 06:03:30 +0000
committerAndrew Haley <aph@gcc.gnu.org>1999-05-21 06:03:30 +0000
commit21635bd68826ac30646ce61bf0d241c5d7f0599a (patch)
tree9e64a7bb820d8d235b0874a61e13389f6a681cc6 /libjava/include/sparc-signal.h
parent9c2553ff59be549b88f924e358cdce3ffb26cc24 (diff)
downloadgcc-21635bd68826ac30646ce61bf0d241c5d7f0599a.zip
gcc-21635bd68826ac30646ce61bf0d241c5d7f0599a.tar.gz
gcc-21635bd68826ac30646ce61bf0d241c5d7f0599a.tar.bz2
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
Diffstat (limited to 'libjava/include/sparc-signal.h')
-rw-r--r--libjava/include/sparc-signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/include/sparc-signal.h b/libjava/include/sparc-signal.h
index 03b5cdc..b2464c4 100644
--- a/libjava/include/sparc-signal.h
+++ b/libjava/include/sparc-signal.h
@@ -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); \