aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-03-07 11:16:37 +0000
committerJim Ingham <jingham@apple.com>2014-03-07 11:16:37 +0000
commit0ff099f10c52270feac74c54aa250218854bbe42 (patch)
tree8e893faf7041a531919e62928adecedb6c291735
parentad3d81d320408a5baf50d61c6f666e0d854502d2 (diff)
downloadllvm-0ff099f10c52270feac74c54aa250218854bbe42.zip
llvm-0ff099f10c52270feac74c54aa250218854bbe42.tar.gz
llvm-0ff099f10c52270feac74c54aa250218854bbe42.tar.bz2
The ThreadPlanCallFunction needs to pass its "StopOthers" to its run to address subplan.
llvm-svn: 203231
-rw-r--r--lldb/include/lldb/Target/ThreadPlanCallFunction.h5
-rw-r--r--lldb/source/Target/ThreadPlanCallFunction.cpp7
2 files changed, 11 insertions, 1 deletions
diff --git a/lldb/include/lldb/Target/ThreadPlanCallFunction.h b/lldb/include/lldb/Target/ThreadPlanCallFunction.h
index d8d8cb1..12200ab7 100644
--- a/lldb/include/lldb/Target/ThreadPlanCallFunction.h
+++ b/lldb/include/lldb/Target/ThreadPlanCallFunction.h
@@ -125,7 +125,10 @@ public:
m_takedown_done = true;
}
-protected:
+ virtual void
+ SetStopOthers (bool new_value);
+
+protected:
void ReportRegisterState (const char *message);
virtual bool
diff --git a/lldb/source/Target/ThreadPlanCallFunction.cpp b/lldb/source/Target/ThreadPlanCallFunction.cpp
index e465dcf..34f66cd 100644
--- a/lldb/source/Target/ThreadPlanCallFunction.cpp
+++ b/lldb/source/Target/ThreadPlanCallFunction.cpp
@@ -536,6 +536,13 @@ ThreadPlanCallFunction::BreakpointsExplainStop()
return false;
}
+void
+ThreadPlanCallFunction::SetStopOthers (bool new_value)
+{
+ m_subplan_sp->SetStopOthers(new_value);
+}
+
+
bool
ThreadPlanCallFunction::RestoreThreadState()
{