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:
Rene Gollent 2012-11-27 21:04:33 -05:00
parent 6fd173ecd8
commit 0838236c49

View File

@ -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);