diff options
author | Daniel Malea <daniel.malea@intel.com> | 2013-05-14 15:20:12 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2013-05-14 15:20:12 +0000 |
commit | 246cb61104fc95672a8ce125745306fdcfcbe9c7 (patch) | |
tree | 0ebcd3cf2973096f3729f33f127fa54dcb5c0cf2 /lldb/source/Target/ThreadPlanStepInRange.cpp | |
parent | 61101ba419331343d4a607e13fc4ca07d8245be8 (diff) | |
download | bcm5719-llvm-246cb61104fc95672a8ce125745306fdcfcbe9c7.tar.gz bcm5719-llvm-246cb61104fc95672a8ce125745306fdcfcbe9c7.zip |
Fix inline stepping test case on Linux because Thread::ThreadStoppedForAReason ignored virtual steps.
- add IsVirtualStep() virtual function to ThreadPlan, and implement it for
ThreadPlanStepInRange
- make GetPrivateStopReason query the current thread plan for a virtual stop to
decide if the current stop reason needs to be preserved
- remove extra check for an existing process in GetPrivateStopReason
llvm-svn: 181795
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepInRange.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlanStepInRange.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp index d5a6b10858f..c5bb1446479 100644 --- a/lldb/source/Target/ThreadPlanStepInRange.cpp +++ b/lldb/source/Target/ThreadPlanStepInRange.cpp @@ -463,3 +463,9 @@ ThreadPlanStepInRange::DoWillResume (lldb::StateType resume_state, bool current_ } return true; } + +bool +ThreadPlanStepInRange::IsVirtualStep() +{ + return m_virtual_step; +} |