[Lldb-commits] [lldb] r203231 - The ThreadPlanCallFunction needs to pass its "StopOthers" to its run to address subplan.

Jim Ingham jingham at apple.com
Fri Mar 7 03:16:37 PST 2014


Author: jingham
Date: Fri Mar  7 05:16:37 2014
New Revision: 203231

URL: http://llvm.org/viewvc/llvm-project?rev=203231&view=rev
Log:
The ThreadPlanCallFunction needs to pass its "StopOthers" to its run to address subplan.

Modified:
    lldb/trunk/include/lldb/Target/ThreadPlanCallFunction.h
    lldb/trunk/source/Target/ThreadPlanCallFunction.cpp

Modified: lldb/trunk/include/lldb/Target/ThreadPlanCallFunction.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/ThreadPlanCallFunction.h?rev=203231&r1=203230&r2=203231&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/ThreadPlanCallFunction.h (original)
+++ lldb/trunk/include/lldb/Target/ThreadPlanCallFunction.h Fri Mar  7 05:16:37 2014
@@ -125,7 +125,10 @@ public:
         m_takedown_done = true;
     }
     
-protected:    
+    virtual void
+    SetStopOthers (bool new_value);
+    
+protected:
     void ReportRegisterState (const char *message);
 
     virtual bool

Modified: lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanCallFunction.cpp?rev=203231&r1=203230&r2=203231&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanCallFunction.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanCallFunction.cpp Fri Mar  7 05:16:37 2014
@@ -536,6 +536,13 @@ ThreadPlanCallFunction::BreakpointsExpla
     return false;
 }
 
+void
+ThreadPlanCallFunction::SetStopOthers (bool new_value)
+{
+    m_subplan_sp->SetStopOthers(new_value);
+}
+
+
 bool
 ThreadPlanCallFunction::RestoreThreadState()
 {





More information about the lldb-commits mailing list