equal
deleted
inserted
replaced
3357 } |
3357 } |
3358 |
3358 |
3359 // Dump all the signal |
3359 // Dump all the signal |
3360 if (sigismember(&check_signal_done, sig)) { |
3360 if (sigismember(&check_signal_done, sig)) { |
3361 print_signal_handlers(tty, buf, O_BUFLEN); |
3361 print_signal_handlers(tty, buf, O_BUFLEN); |
3362 } |
|
3363 } |
|
3364 |
|
3365 extern bool signal_name(int signo, char* buf, size_t len); |
|
3366 |
|
3367 const char* os::exception_name(int exception_code, char* buf, size_t size) { |
|
3368 if (0 < exception_code && exception_code <= SIGRTMAX) { |
|
3369 // signal |
|
3370 if (!signal_name(exception_code, buf, size)) { |
|
3371 jio_snprintf(buf, size, "SIG%d", exception_code); |
|
3372 } |
|
3373 return buf; |
|
3374 } else { |
|
3375 return NULL; |
|
3376 } |
3362 } |
3377 } |
3363 } |
3378 |
3364 |
3379 // To install functions for atexit system call |
3365 // To install functions for atexit system call |
3380 extern "C" { |
3366 extern "C" { |