Get rid of using EXC_SOFT_SIGNAL define in host agnostic code.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109281 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Thread.cpp b/source/Target/Thread.cpp
index 3512090..e761503 100644
--- a/source/Target/Thread.cpp
+++ b/source/Target/Thread.cpp
@@ -276,7 +276,8 @@
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;