mirror of
https://github.com/FEX-Emu/libunwind.git
synced 2024-12-02 19:27:01 +00:00
dwarf: ip == 0 should't terminate unwind
This commit is contained in:
parent
43e5ee28c0
commit
d04dc94cc2
@ -33,7 +33,7 @@ dwarf_step (struct dwarf_cursor *c)
|
||||
|
||||
if ((ret = dwarf_find_save_locs (c)) >= 0) {
|
||||
c->pi_valid = 0;
|
||||
ret = (c->ip == 0) ? 0 : 1;
|
||||
ret = 1;
|
||||
}
|
||||
|
||||
Debug (15, "returning %d\n", ret);
|
||||
|
@ -213,7 +213,6 @@ unw_step (unw_cursor_t *cursor)
|
||||
if (c->dwarf.ip == prev_ip && c->dwarf.cfa == prev_cfa)
|
||||
return -UNW_EBADFRAME;
|
||||
}
|
||||
ret = (c->dwarf.ip == 0) ? 0 : 1;
|
||||
Debug (2, "returning %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user