8050167: linux-sparcv9: hs_err file does not show any stack information
Fixed creation of starting stack frame for stack walking in error handler Reviewed-by: coleenp, mikael
This commit is contained in:
parent
e051932425
commit
944d684ea8
@ -118,7 +118,7 @@ ExtendedPC os::fetch_frame_from_context(void* ucVoid,
|
||||
*ret_sp = os::Linux::ucontext_get_sp(uc);
|
||||
}
|
||||
if (ret_fp) {
|
||||
*ret_fp = os::Linux::ucontext_get_fp(uc);
|
||||
*ret_fp = (intptr_t*)NULL;
|
||||
}
|
||||
} else {
|
||||
// construct empty ExtendedPC for return value checking
|
||||
@ -136,9 +136,8 @@ ExtendedPC os::fetch_frame_from_context(void* ucVoid,
|
||||
|
||||
frame os::fetch_frame_from_context(void* ucVoid) {
|
||||
intptr_t* sp;
|
||||
intptr_t* fp;
|
||||
ExtendedPC epc = fetch_frame_from_context(ucVoid, &sp, &fp);
|
||||
return frame(sp, fp, epc.pc());
|
||||
ExtendedPC epc = fetch_frame_from_context(ucVoid, &sp, NULL);
|
||||
return frame(sp, frame::unpatchable, epc.pc());
|
||||
}
|
||||
|
||||
frame os::get_sender_for_C_frame(frame* fr) {
|
||||
|
Loading…
Reference in New Issue
Block a user