diff options
Diffstat (limited to 'src/processor/stackwalker_mips.cc')
-rw-r--r-- | src/processor/stackwalker_mips.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processor/stackwalker_mips.cc b/src/processor/stackwalker_mips.cc index a3df84c4..9a81b46e 100644 --- a/src/processor/stackwalker_mips.cc +++ b/src/processor/stackwalker_mips.cc @@ -280,7 +280,7 @@ StackFrame* StackwalkerMIPS::GetCallerFrame(const CallStack* stack, // If the new stack pointer is at a lower address than the old, then // that's clearly incorrect. Treat this as end-of-stack to enforce // progress and avoid infinite loops. - if (new_frame->context.iregs[MD_CONTEXT_MIPS_REG_SP] <= + if (new_frame->context.iregs[MD_CONTEXT_MIPS_REG_SP] < last_frame->context.iregs[MD_CONTEXT_MIPS_REG_SP]) { return NULL; } |