8171129: [aarch64] hs_err logs do not print register mappings
Call print_location for contents of all registers. Reviewed-by: aph, dholmes
This commit is contained in:
parent
6869835c72
commit
89e7c22fc4
@ -606,8 +606,10 @@ void os::print_context(outputStream *st, const void *context) {
|
||||
st->print(" TRAPNO=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_TRAPNO]);
|
||||
st->cr();
|
||||
#else
|
||||
for (int r = 0; r < 31; r++)
|
||||
st->print_cr( "R%d=" INTPTR_FORMAT, r, (size_t)uc->uc_mcontext.regs[r]);
|
||||
for (int r = 0; r < 31; r++) {
|
||||
st->print("R%-2d=", r);
|
||||
print_location(st, uc->uc_mcontext.regs[r]);
|
||||
}
|
||||
#endif
|
||||
st->cr();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user