hotspot/src/os_cpu/solaris_x86/vm/os_solaris_x86.cpp
changeset 2131 98f9cef66a34
parent 2111 dab8a43dd738
child 2154 72a9b7284ccf
equal deleted inserted replaced
2130:f935aa562118 2131:98f9cef66a34
   692     struct sigaction oldAct;
   692     struct sigaction oldAct;
   693     sigaction(sig, (struct sigaction *)0, &oldAct);
   693     sigaction(sig, (struct sigaction *)0, &oldAct);
   694     if (oldAct.sa_sigaction != signalHandler) {
   694     if (oldAct.sa_sigaction != signalHandler) {
   695       void* sighand = oldAct.sa_sigaction ? CAST_FROM_FN_PTR(void*,  oldAct.sa_sigaction)
   695       void* sighand = oldAct.sa_sigaction ? CAST_FROM_FN_PTR(void*,  oldAct.sa_sigaction)
   696                                           : CAST_FROM_FN_PTR(void*, oldAct.sa_handler);
   696                                           : CAST_FROM_FN_PTR(void*, oldAct.sa_handler);
   697       warning("Unexpected Signal %d occured under user-defined signal handler %#lx", sig, (long)sighand);
   697       warning("Unexpected Signal %d occurred under user-defined signal handler %#lx", sig, (long)sighand);
   698     }
   698     }
   699   }
   699   }
   700 
   700 
   701   if (pc == NULL && uc != NULL) {
   701   if (pc == NULL && uc != NULL) {
   702     pc = (address) uc->uc_mcontext.gregs[REG_PC];
   702     pc = (address) uc->uc_mcontext.gregs[REG_PC];