summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-01-26 05:30:38 +0000
committerJason Molenda <jmolenda@apple.com>2013-01-26 05:30:38 +0000
commit4eacc7647d7c043fdbfbe621e4c4f3c1c202d979 (patch)
treebd258936917592c73fdd17d525b809a1695a85ae /lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
parentac08b26611860e16d95c6cd49b444cd5d84cc1de (diff)
downloadbcm5719-llvm-4eacc7647d7c043fdbfbe621e4c4f3c1c202d979.tar.gz
bcm5719-llvm-4eacc7647d7c043fdbfbe621e4c4f3c1c202d979.zip
Add comments showing the symbolic names for the exc_code types we
receive with an EXC_BREAKPOINT mach exception on arm. llvm-svn: 173560
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp b/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
index 60570b5b97d..77bc7116b8a 100644
--- a/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
+++ b/lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
@@ -389,7 +389,7 @@ StopInfoMachException::CreateStopReasonWithMachException
break;
case llvm::Triple::arm:
- if (exc_code == 0x102)
+ if (exc_code == 0x102) // EXC_ARM_DA_DEBUG
{
// It's a watchpoint, then, if the exc_sub_code indicates a known/enabled
// data break address from our watchpoint list.
@@ -408,7 +408,7 @@ StopInfoMachException::CreateStopReasonWithMachException
if (thread.GetTemporaryResumeState() == eStateStepping)
return StopInfo::CreateStopReasonToTrace(thread);
}
- else if (exc_code == 1)
+ else if (exc_code == 1) // EXC_ARM_BREAKPOINT
{
is_software_breakpoint = true;
is_trace_if_software_breakpoint_missing = true;
OpenPOWER on IntegriCloud