Index: source/Target/ThreadPlanStepOverRange.cpp =================================================================== --- source/Target/ThreadPlanStepOverRange.cpp +++ source/Target/ThreadPlanStepOverRange.cpp @@ -106,22 +106,22 @@ // in so I left out the target check. And sometimes the module comes in as // the .o file from the // inlined range, so I left that out too... - if (m_addr_context.comp_unit) { - if (m_addr_context.comp_unit == context.comp_unit) { - if (m_addr_context.function && - m_addr_context.function == context.function) { - // It is okay to return to a different block of a straight function, we - // only have to - // be more careful if returning from one inlined block to another. - if (m_addr_context.block->GetInlinedFunctionInfo() == nullptr && - context.block->GetInlinedFunctionInfo() == nullptr) - return true; - - if (m_addr_context.block && m_addr_context.block == context.block) - return true; - } + if (m_addr_context.comp_unit && + m_addr_context.comp_unit == context.comp_unit) { + if (m_addr_context.function && + m_addr_context.function == context.function) { + // It is okay to return to a different block of a straight function, we + // only have to + // be more careful if returning from one inlined block to another. + if (m_addr_context.block->GetInlinedFunctionInfo() == nullptr && + context.block->GetInlinedFunctionInfo() == nullptr) + return true; + + if (m_addr_context.block && m_addr_context.block == context.block) + return true; } - } else if (m_addr_context.symbol && m_addr_context.symbol == context.symbol) { + } + if (m_addr_context.symbol && m_addr_context.symbol == context.symbol) { return true; } return false;