From 0838236c491ecfc62d4b34e7898ec875a9d5c195 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 27 Nov 2012 21:04:33 -0500 Subject: [PATCH] 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. --- src/apps/debugger/arch/Architecture.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/apps/debugger/arch/Architecture.cpp b/src/apps/debugger/arch/Architecture.cpp index 5fc769a4cae..05eb9036892 100644 --- a/src/apps/debugger/arch/Architecture.cpp +++ b/src/apps/debugger/arch/Architecture.cpp @@ -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 teamLocker(team);