diff options
| author | Jim Ingham <jingham@apple.com> | 2010-07-14 02:25:06 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2010-07-14 02:25:06 +0000 |
| commit | 9d790c5d12bc7a2b8188aeb553a758dc92f2d74f (patch) | |
| tree | eed5ade305f7baebdb7cda12c3006c4438540818 /lldb/source/Target/ThreadPlanStepInRange.cpp | |
| parent | 711338fb04e41e766277eb9014b9a2fd6ec631b6 (diff) | |
| download | llvm-9d790c5d12bc7a2b8188aeb553a758dc92f2d74f.tar.gz llvm-9d790c5d12bc7a2b8188aeb553a758dc92f2d74f.tar.bz2 llvm-9d790c5d12bc7a2b8188aeb553a758dc92f2d74f.zip | |
Stepping through a trampoline should do "stop others" unless All Threads is requested.
llvm-svn: 108311
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepInRange.cpp')
| -rw-r--r-- | lldb/source/Target/ThreadPlanStepInRange.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp index 58f61977ccdf..b95b35e59245 100644 --- a/lldb/source/Target/ThreadPlanStepInRange.cpp +++ b/lldb/source/Target/ThreadPlanStepInRange.cpp @@ -101,8 +101,11 @@ ThreadPlanStepInRange::ShouldStop (Event *event_ptr) ThreadPlan* new_plan = NULL; + // Stepping through should be done stopping other threads in general, since we're setting a breakpoint and + // continuing... + bool stop_others; - if (m_stop_others == lldb::eOnlyThisThread) + if (m_stop_others != lldb::eAllThreads) stop_others = true; else stop_others = false; |
