From 93ef728f271d3dbe339f2cc8b20da89d4e41d64d Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 6 Sep 2013 12:43:14 +0000 Subject: [PATCH] Correct logic error found by inspection. From Jim's post on the lldb-dev mailing list: This code is there as a backstop for when the unwinder drops a frame at the beginning of new function/trampoline or whatever. In the (older_ctx_is_equivalent == false) case we will see if we are at a trampoline function that somebody knows how to get out of, and otherwise we will stop. llvm-svn: 190149 --- lldb/source/Target/ThreadPlanStepOverRange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Target/ThreadPlanStepOverRange.cpp b/lldb/source/Target/ThreadPlanStepOverRange.cpp index 7b8539ce422b..5b4ebaac490e 100644 --- a/lldb/source/Target/ThreadPlanStepOverRange.cpp +++ b/lldb/source/Target/ThreadPlanStepOverRange.cpp @@ -121,7 +121,7 @@ ThreadPlanStepOverRange::ShouldStop (Event *event_ptr) // 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... - bool older_ctx_is_equivalent = true; + bool older_ctx_is_equivalent = false; if (m_addr_context.comp_unit) { if (m_addr_context.comp_unit == older_context.comp_unit)