448 static void print_cpu_info(outputStream* st); |
448 static void print_cpu_info(outputStream* st); |
449 static void print_memory_info(outputStream* st); |
449 static void print_memory_info(outputStream* st); |
450 static void print_dll_info(outputStream* st); |
450 static void print_dll_info(outputStream* st); |
451 static void print_environment_variables(outputStream* st, const char** env_list, char* buffer, int len); |
451 static void print_environment_variables(outputStream* st, const char** env_list, char* buffer, int len); |
452 static void print_context(outputStream* st, void* context); |
452 static void print_context(outputStream* st, void* context); |
|
453 static void print_register_info(outputStream* st, void* context); |
453 static void print_siginfo(outputStream* st, void* siginfo); |
454 static void print_siginfo(outputStream* st, void* siginfo); |
454 static void print_signal_handlers(outputStream* st, char* buf, size_t buflen); |
455 static void print_signal_handlers(outputStream* st, char* buf, size_t buflen); |
455 static void print_date_and_time(outputStream* st); |
456 static void print_date_and_time(outputStream* st); |
456 |
457 |
457 static void print_location(outputStream* st, intptr_t x, bool print_pc = false); |
458 static void print_location(outputStream* st, intptr_t x, bool verbose = false); |
458 |
459 |
459 // The following two functions are used by fatal error handler to trace |
460 // The following two functions are used by fatal error handler to trace |
460 // native (C) frames. They are not part of frame.hpp/frame.cpp because |
461 // native (C) frames. They are not part of frame.hpp/frame.cpp because |
461 // frame.hpp/cpp assume thread is JavaThread, and also because different |
462 // frame.hpp/cpp assume thread is JavaThread, and also because different |
462 // OS/compiler may have different convention or provide different API to |
463 // OS/compiler may have different convention or provide different API to |