[Lldb-commits] [lldb] r120947 - /lldb/trunk/source/Target/Process.cpp

Greg Clayton gclayton at apple.com
Sun Dec 5 11:16:56 PST 2010


Author: gclayton
Date: Sun Dec  5 13:16:56 2010
New Revision: 120947

URL: http://llvm.org/viewvc/llvm-project?rev=120947&view=rev
Log:
Make sure that STDOUT and STDERR events in lldb_private::Process carry along
a ProcessEventData so clients can get the process from these events.


Modified:
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=120947&r1=120946&r2=120947&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Sun Dec  5 13:16:56 2010
@@ -2182,7 +2182,7 @@
     Mutex::Locker locker (m_stdio_communication_mutex);
     m_stdout_data.append (s, len);
     
-    BroadcastEventIfUnique (eBroadcastBitSTDOUT);
+    BroadcastEventIfUnique (eBroadcastBitSTDOUT, new ProcessEventData (GetTarget().GetProcessSP(), GetState()));
 }
 
 void





More information about the lldb-commits mailing list