[Lldb-commits] [lldb] r171819 - /lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp

Matt Kopec Matt.Kopec at intel.com
Mon Jan 7 16:13:33 PST 2013


Author: mkopec
Date: Mon Jan  7 18:13:33 2013
New Revision: 171819

URL: http://llvm.org/viewvc/llvm-project?rev=171819&view=rev
Log:
Fix TestSendSignals.py on Linux. The wrong stop reason was being set when stopping for a received signal.


Modified:
    lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp

Modified: lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp?rev=171819&r1=171818&r2=171819&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp Mon Jan  7 18:13:33 2013
@@ -281,8 +281,7 @@
 {
     int signo = message.GetSignal();
 
-    // Just treat debugger generated signal events like breakpoints for now.
-    m_stop_info = StopInfo::CreateStopReasonToTrace(*this);
+    m_stop_info = StopInfo::CreateStopReasonWithSignal(*this, signo);
     SetResumeSignal(signo);
 }
 





More information about the lldb-commits mailing list