src/hotspot/os_cpu/solaris_sparc/os_solaris_sparc.cpp
changeset 53605 853c68ff2ed7
parent 52462 4ad404da0088
child 55490 3f3dc00a69a5
child 58678 9cf78a70fa4f
--- a/src/hotspot/os_cpu/solaris_sparc/os_solaris_sparc.cpp	Fri Feb 01 14:24:40 2019 +0000
+++ b/src/hotspot/os_cpu/solaris_sparc/os_solaris_sparc.cpp	Fri Feb 01 16:03:15 2019 +0100
@@ -655,8 +655,8 @@
   // this at the end, and hope for the best.
   ExtendedPC epc = os::Solaris::ucontext_get_ExtendedPC(uc);
   address pc = epc.pc();
-  st->print_cr("Instructions: (pc=" PTR_FORMAT ")", pc);
-  print_hex_dump(st, pc - 32, pc + 32, sizeof(char));
+  print_instructions(st, pc, sizeof(char));
+  st->cr();
 }
 
 void os::print_register_info(outputStream *st, const void *context) {