The StepOverBreakpoint plan should only explain eStopReasonTrace. It didn't cause any other exceptional stop reason.

llvm-svn: 159031
This commit is contained in:
Jim Ingham 2012-06-22 20:42:22 +00:00
parent 4fa84ba8b9
commit bc1d7f7a6a
1 changed files with 10 additions and 1 deletions

View File

@ -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