[Lldb-commits] [lldb] r159031 - /lldb/trunk/source/Target/ThreadPlanStepOverBreakpoint.cpp
Jim Ingham
jingham at apple.com
Fri Jun 22 13:42:22 PDT 2012
Author: jingham
Date: Fri Jun 22 15:42:22 2012
New Revision: 159031
URL: http://llvm.org/viewvc/llvm-project?rev=159031&view=rev
Log:
The StepOverBreakpoint plan should only explain eStopReasonTrace. It didn't cause any other exceptional stop reason.
Modified:
lldb/trunk/source/Target/ThreadPlanStepOverBreakpoint.cpp
Modified: lldb/trunk/source/Target/ThreadPlanStepOverBreakpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanStepOverBreakpoint.cpp?rev=159031&r1=159030&r2=159031&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanStepOverBreakpoint.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanStepOverBreakpoint.cpp Fri Jun 22 15:42:22 2012
@@ -60,7 +60,16 @@
bool
ThreadPlanStepOverBreakpoint::PlanExplainsStop ()
{
- return true;
+ StopInfoSP stop_info_sp = GetPrivateStopReason();
+ if (stop_info_sp)
+ {
+ StopReason reason = stop_info_sp->GetStopReason();
+ if (reason == eStopReasonTrace || reason == eStopReasonNone)
+ return true;
+ else
+ return false;
+ }
+ return false;
}
bool
More information about the lldb-commits
mailing list