Skip to content

Commit

Permalink
Remove check.
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
anevilyak committed Nov 28, 2012
1 parent 6fd173e commit 0838236
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/apps/debugger/arch/Architecture.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 0838236

Please sign in to comment.