diff options
author | Jim Ingham <jingham@apple.com> | 2010-06-19 04:45:32 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2010-06-19 04:45:32 +0000 |
commit | b01e742af7651361c2e49d22140dee9342d8d72e (patch) | |
tree | ed6662bee21de01cbe59c76e620f2881ac921c1b /lldb/source/Target/ThreadPlanCallFunction.cpp | |
parent | b2a38a7286d20a4c6cf20820a0cfe9a1d30df93e (diff) | |
download | bcm5719-llvm-b01e742af7651361c2e49d22140dee9342d8d72e.tar.gz bcm5719-llvm-b01e742af7651361c2e49d22140dee9342d8d72e.zip |
Two changes in this checkin. Added a ThreadPlanKind so that I can do some reasoning based on the kind of thread plan
without having to use RTTI.
Removed the ThreadPlanContinue and replaced with a ShouldAutoContinue query that serves the same purpose. Having to push
another plan to assert that if there's no other indication the target should continue when this plan is popped was flakey
and error prone. This method is more stable, and fixed problems we were having with thread specific breakpoints.
llvm-svn: 106378
Diffstat (limited to 'lldb/source/Target/ThreadPlanCallFunction.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlanCallFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlanCallFunction.cpp b/lldb/source/Target/ThreadPlanCallFunction.cpp index 4b3533a3446..0309505e4ae 100644 --- a/lldb/source/Target/ThreadPlanCallFunction.cpp +++ b/lldb/source/Target/ThreadPlanCallFunction.cpp @@ -35,7 +35,7 @@ ThreadPlanCallFunction::ThreadPlanCallFunction (Thread &thread, lldb::addr_t arg, bool stop_other_threads, bool discard_on_error) : - ThreadPlan ("Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion), + ThreadPlan (ThreadPlan::eKindCallFunction, "Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion), m_valid(false), m_process(thread.GetProcess()), m_arg_addr (arg), @@ -89,7 +89,7 @@ ThreadPlanCallFunction::ThreadPlanCallFunction (Thread &thread, ValueList &args, bool stop_other_threads, bool discard_on_error) : - ThreadPlan ("Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion), + ThreadPlan (ThreadPlan::eKindCallFunction, "Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion), m_valid(false), m_process(thread.GetProcess()), m_arg_addr (0), |