hotspot/src/os/linux/vm/vmError_linux.cpp
changeset 7433 b418028612ad
parent 7397 5b173b4ca846
child 13964 01a2b863cc61
equal deleted inserted replaced
7432:f06f1253c317 7433:b418028612ad
    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