[Lldb-commits] [PATCH 7/8] Set the ID of a ProcessLinux instance to the PID of the inferior on launch.

Stephen Wilson wilsons at start.ca
Fri Jan 14 13:12:21 PST 2011


---
 source/Plugins/Process/Linux/ProcessLinux.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/source/Plugins/Process/Linux/ProcessLinux.cpp b/source/Plugins/Process/Linux/ProcessLinux.cpp
index 6e9c0fb..00bdda5 100644
--- a/source/Plugins/Process/Linux/ProcessLinux.cpp
+++ b/source/Plugins/Process/Linux/ProcessLinux.cpp
@@ -124,6 +124,7 @@ ProcessLinux::DoLaunch(Module *module,
     if (!error.Success())
         return error;
 
+    SetID(m_monitor->GetPID());
     return error;
 }
 
-- 
1.7.3.5




More information about the lldb-commits mailing list