summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanStepInRange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepInRange.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepInRange.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp
index caaaffea8e8..6c5a9954f23 100644
--- a/lldb/source/Target/ThreadPlanStepInRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepInRange.cpp
@@ -191,8 +191,12 @@ bool ThreadPlanStepInRange::ShouldStop(Event *event_ptr) {
if (!m_sub_plan_sp) {
// Otherwise check the ShouldStopHere for step out:
m_sub_plan_sp = CheckShouldStopHereAndQueueStepOut(frame_order);
- if (log)
- log->Printf("ShouldStopHere says we should step out of this frame.");
+ if (log) {
+ if (m_sub_plan_sp)
+ log->Printf("ShouldStopHere found plan to step out of this frame.");
+ else
+ log->Printf("ShouldStopHere no plan to step out of this frame.");
+ }
} else if (log) {
log->Printf(
"Thought I stepped out, but in fact arrived at a trampoline.");
OpenPOWER on IntegriCloud