1999-05-21 Andrew Haley <aph@cygnus.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 May 1999 06:03:30 +0000 (06:03 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 May 1999 06:03:30 +0000 (06:03 +0000)
        * include/sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added
        to signal options to allow the same exceptions to be rethrown
        later.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27079 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/include/sparc-signal.h

index 1a96458..8508e5d 100644 (file)
@@ -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
index 03b5cdc..b2464c4 100644 (file)
@@ -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);                            \