The ARM single-step handling needs to look for breakpoint on the next instruction.
authorJim Ingham <jingham@apple.com>
Tue, 26 Jul 2016 19:50:25 +0000 (19:50 +0000)
committerJim Ingham <jingham@apple.com>
Tue, 26 Jul 2016 19:50:25 +0000 (19:50 +0000)
<rdar://problem/27006685>

llvm-svn: 276796

lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp

index 7c0487b..6331e81 100644 (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
                     {