[Lldb-commits] [lldb] r250083 - Return the right answer for ShouldStop for the RunToAddress plan. This isn't

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 12 12:03:32 PDT 2015


Author: jingham
Date: Mon Oct 12 14:03:32 2015
New Revision: 250083

URL: http://llvm.org/viewvc/llvm-project?rev=250083&view=rev
Log:
Return the right answer for ShouldStop for the RunToAddress plan.  This isn't
strictly necessary because RunToAddress is always used as a subsidiary plan, so
it's ShouldStop seldom matters.  But get it right anyway.

Modified:
    lldb/trunk/source/Target/ThreadPlanRunToAddress.cpp

Modified: lldb/trunk/source/Target/ThreadPlanRunToAddress.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanRunToAddress.cpp?rev=250083&r1=250082&r2=250083&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanRunToAddress.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanRunToAddress.cpp Mon Oct 12 14:03:32 2015
@@ -195,7 +195,7 @@ ThreadPlanRunToAddress::DoPlanExplainsSt
 bool
 ThreadPlanRunToAddress::ShouldStop (Event *event_ptr)
 {
-    return false;
+    return AtOurAddress();
 }
 
 bool




More information about the lldb-commits mailing list