Skip to content

Commit

Permalink
Merge branch 'bjorn/erts/fix-hipe-crash/OTP-9886' into maint
Browse files Browse the repository at this point in the history
* bjorn/erts/fix-hipe-crash/OTP-9886:
  Fix crash in trace_info({M,F,A}, Flags) when M:F/A has native code
  • Loading branch information
bjorng committed Jan 26, 2012
2 parents 5f1e827 + 319bb88 commit 9d2a2e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion erts/emulator/beam/beam_bp.c
Expand Up @@ -1329,10 +1329,14 @@ static BpData *get_break(Process *p, BeamInstr *pc, BeamInstr break_op) {
}

static BpData *is_break(BeamInstr *pc, BeamInstr break_op) {
BpData **rs = (BpData **) pc[-4];
BpData **rs;
BpData *bd = NULL, *ebd = NULL;
ASSERT(pc[-5] == (BeamInstr) BeamOp(op_i_func_info_IaaI));

if (erts_is_native_break(pc)) {
return NULL;
}
rs = (BpData **) pc[-4];
if (! rs) {
return NULL;
}
Expand Down

0 comments on commit 9d2a2e3

Please sign in to comment.