[Lldb-commits] [lldb] r109281 - /lldb/trunk/source/Target/Thread.cpp
Greg Clayton
gclayton at apple.com
Fri Jul 23 15:50:09 PDT 2010
Author: gclayton
Date: Fri Jul 23 17:50:09 2010
New Revision: 109281
URL: http://llvm.org/viewvc/llvm-project?rev=109281&view=rev
Log:
Get rid of using EXC_SOFT_SIGNAL define in host agnostic code.
Modified:
lldb/trunk/source/Target/Thread.cpp
Modified: lldb/trunk/source/Target/Thread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Thread.cpp?rev=109281&r1=109280&r2=109281&view=diff
==============================================================================
--- lldb/trunk/source/Target/Thread.cpp (original)
+++ lldb/trunk/source/Target/Thread.cpp Fri Jul 23 17:50:09 2010
@@ -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;
More information about the lldb-commits
mailing list