The ARM single-step handling needs to look for breakpoint on the next instruction.

<rdar://problem/27006685>

llvm-svn: 276796
This commit is contained in:
Jim Ingham 2016-07-26 19:50:25 +00:00
parent 0f5f765fb0
commit 75c450466d

View File

@ -450,7 +450,8 @@ StopInfoMachException::CreateStopReasonWithMachException
if (exc_code == 1 && exc_sub_code == 0) // EXC_ARM_BREAKPOINT
{
// This is hit when we single instruction step aka MDSCR_EL1 SS bit 0 is set
return StopInfo::CreateStopReasonToTrace(thread);
is_actual_breakpoint = false;
is_trace_if_actual_breakpoint_missing = true;
}
if (exc_code == 0x102) // EXC_ARM_DA_DEBUG
{