< prev index next >

src/os/bsd/vm/vmError_bsd.cpp

Print this page

        

*** 32,45 **** #include <sys/wait.h> #include <sys/syscall.h> #include <unistd.h> #include <signal.h> ! void VMError::show_message_box(char *buf, int buflen) { bool yes; do { ! error_string(buf, buflen); int len = (int)strlen(buf); char *p = &buf[len]; jio_snprintf(p, buflen - len, "\n\n" --- 32,46 ---- #include <sys/wait.h> #include <sys/syscall.h> #include <unistd.h> #include <signal.h> ! void VMError::show_message_box(char *buf, int buflen, int id, const char* message, const char* detail_fmt, ! va_list detail_args, address pc, const char* filename, int lineno) { bool yes; do { ! error_string(buf, buflen, id, message, detail_fmt, detail_args, pc, filename, lineno); int len = (int)strlen(buf); char *p = &buf[len]; jio_snprintf(p, buflen - len, "\n\n"
*** 119,130 **** if (uc && pc && StubRoutines::is_safefetch_fault(pc)) { os::Bsd::ucontext_set_pc(uc, StubRoutines::continuation_for_safefetch_fault(pc)); return; } ! VMError err(NULL, sig, pc, info, ucVoid); ! err.report_and_die(); } void VMError::reset_signal_handlers() { // install signal handlers for all synchronous program error signals sigset_t newset; --- 120,130 ---- if (uc && pc && StubRoutines::is_safefetch_fault(pc)) { os::Bsd::ucontext_set_pc(uc, StubRoutines::continuation_for_safefetch_fault(pc)); return; } ! VMError::report_and_die(NULL, sig, pc, info, ucVoid); } void VMError::reset_signal_handlers() { // install signal handlers for all synchronous program error signals sigset_t newset;
< prev index next >