[Lldb-commits] [lldb] r123503 - /lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp

Stephen Wilson wilsons at start.ca
Fri Jan 14 16:13:27 PST 2011


Author: wilsons
Date: Fri Jan 14 18:13:27 2011
New Revision: 123503

URL: http://llvm.org/viewvc/llvm-project?rev=123503&view=rev
Log:
Set the ID of a ProcessLinux instance to the PID of the inferior on launch.

Modified:
    lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp

Modified: lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp?rev=123503&r1=123502&r2=123503&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp Fri Jan 14 18:13:27 2011
@@ -124,6 +124,7 @@
     if (!error.Success())
         return error;
 
+    SetID(m_monitor->GetPID());
     return error;
 }
 





More information about the lldb-commits mailing list