summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r--lldb/source/Target/Thread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index 35120905ac1..e761503eec1 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -276,7 +276,8 @@ Thread::StopInfo::SetStopReasonWithMachException
case 5: // EXC_SOFTWARE
exc_desc = "EXC_SOFTWARE";
- if (m_details.exception.data[0] == EXC_SOFT_SIGNAL && m_details.exception.data_count == 2)
+ // Check for EXC_SOFT_SIGNAL
+ if (m_details.exception.data[0] == 0x10003 && m_details.exception.data_count == 2)
{
SetStopReasonWithSignal(m_details.exception.data[1]);
exc_translated = true;
OpenPOWER on IntegriCloud