mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8217879: hs_err should print more instructions in hex dump
Reviewed-by: stuefe, coleenp, dholmes, lucy, stefank
This commit is contained in:
parent
d176e20898
commit
8f65fa9303
13 changed files with 24 additions and 23 deletions
|
@ -605,9 +605,7 @@ void os::print_context(outputStream *st, const void *context) {
|
|||
// 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);
|
||||
if (Verbose) { st->print_cr("pc at " PTR_FORMAT, p2i(pc)); }
|
||||
st->print_cr("Instructions: (pc=" PTR_FORMAT ")", p2i(pc));
|
||||
print_hex_dump(st, pc-64, pc+64, /*intrsize=*/4);
|
||||
print_instructions(st, pc, /*intrsize=*/4);
|
||||
st->cr();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue