equal
deleted
inserted
replaced
42 char *p = &buf[len]; |
42 char *p = &buf[len]; |
43 |
43 |
44 jio_snprintf(p, buflen - len, |
44 jio_snprintf(p, buflen - len, |
45 "\n\n" |
45 "\n\n" |
46 "Do you want to debug the problem?\n\n" |
46 "Do you want to debug the problem?\n\n" |
47 "To debug, run 'gdb /proc/%d/exe %d'; then switch to thread " INTX_FORMAT "\n" |
47 "To debug, run 'gdb /proc/%d/exe %d'; then switch to thread " INTX_FORMAT " (" INTPTR_FORMAT ")\n" |
48 "Enter 'yes' to launch gdb automatically (PATH must include gdb)\n" |
48 "Enter 'yes' to launch gdb automatically (PATH must include gdb)\n" |
49 "Otherwise, press RETURN to abort...", |
49 "Otherwise, press RETURN to abort...", |
50 os::current_process_id(), os::current_process_id(), |
50 os::current_process_id(), os::current_process_id(), |
51 os::current_thread_id()); |
51 os::current_thread_id(), os::current_thread_id()); |
52 |
52 |
53 yes = os::message_box("Unexpected Error", buf); |
53 yes = os::message_box("Unexpected Error", buf); |
54 |
54 |
55 if (yes) { |
55 if (yes) { |
56 // yes, user asked VM to launch debugger |
56 // yes, user asked VM to launch debugger |