Remove check.
- It can actually happen that an app crashes due to being at IP 0. The short circuit was consequently preventing us from unwinding the stack properly in such a case.
This commit is contained in:
parent
6fd173ecd8
commit
0838236c49
@ -122,8 +122,6 @@ Architecture::CreateStackTrace(Team* team,
|
||||
while (cpuState != NULL) {
|
||||
// get the instruction pointer
|
||||
target_addr_t instructionPointer = cpuState->InstructionPointer();
|
||||
if (instructionPointer == 0)
|
||||
break;
|
||||
|
||||
// get the image for the instruction pointer
|
||||
AutoLocker<Team> teamLocker(team);
|
||||
|
Loading…
Reference in New Issue
Block a user