forked from OSchip/llvm-project
The StepOverBreakpoint plan should only explain eStopReasonTrace. It didn't cause any other exceptional stop reason.
llvm-svn: 159031
This commit is contained in:
parent
4fa84ba8b9
commit
bc1d7f7a6a
|
@ -60,7 +60,16 @@ ThreadPlanStepOverBreakpoint::ValidatePlan (Stream *error)
|
|||
bool
|
||||
ThreadPlanStepOverBreakpoint::PlanExplainsStop ()
|
||||
{
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue