summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-07-23 22:50:09 +0000
committerGreg Clayton <gclayton@apple.com>2010-07-23 22:50:09 +0000
commit4eb82d92165c8b83f815624704f3acb473b14fe0 (patch)
treea05e93496ce0ca6c77fac89e21899283146fbb4c /lldb/source/Target/Thread.cpp
parentdd762d1e5b1fc35df53ccfb201bc1a244044fd64 (diff)
downloadbcm5719-llvm-4eb82d92165c8b83f815624704f3acb473b14fe0.tar.gz
bcm5719-llvm-4eb82d92165c8b83f815624704f3acb473b14fe0.zip
Get rid of using EXC_SOFT_SIGNAL define in host agnostic code.
llvm-svn: 109281
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