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


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to