src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp
changeset 53605 853c68ff2ed7
parent 52462 4ad404da0088
child 55490 3f3dc00a69a5
child 58678 9cf78a70fa4f
--- 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();
 }