--- a/src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp Fri Feb 01 14:24:40 2019 +0000
+++ b/src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp Fri Feb 01 16:03:15 2019 +0100
@@ -232,8 +232,8 @@
// point to garbage if entry point in an nmethod is corrupted. Leave
// this at the end, and hope for the best.
address pc = os::Linux::ucontext_get_pc(uc);
- st->print_cr("Instructions: (pc=" INTPTR_FORMAT ")", p2i(pc));
- print_hex_dump(st, pc - 32, pc + 32, sizeof(char));
+ print_instructions(st, pc, sizeof(char));
+ st->cr();
}