From 67346ca9eff076e769c53475e5b616f633a9ecff Mon Sep 17 00:00:00 2001 From: Boris Ulasevich Date: Fri, 27 Jan 2017 07:51:43 +0000 Subject: Unroll r292930 due to TestCallThatThrows test fail is not fixed in reasonable time. llvm-svn: 293269 --- lldb/source/Target/ThreadPlanStepRange.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lldb/source/Target/ThreadPlanStepRange.cpp') diff --git a/lldb/source/Target/ThreadPlanStepRange.cpp b/lldb/source/Target/ThreadPlanStepRange.cpp index 47672113c6b..dcee82ea32a 100644 --- a/lldb/source/Target/ThreadPlanStepRange.cpp +++ b/lldb/source/Target/ThreadPlanStepRange.cpp @@ -461,16 +461,6 @@ bool ThreadPlanStepRange::IsPlanStale() { // One tricky bit here is that some stubs don't push a frame, so we should. // check that we are in the same symbol. if (!InRange()) { - // Set plan Complete when we reach next instruction just after the range - lldb::addr_t addr = m_thread.GetRegisterContext()->GetPC() - 1; - size_t num_ranges = m_address_ranges.size(); - for (size_t i = 0; i < num_ranges; i++) { - bool in_range = m_address_ranges[i].ContainsLoadAddress( - addr, m_thread.CalculateTarget().get()); - if (in_range) { - SetPlanComplete(); - } - } return true; } } -- cgit v1.2.3