summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Wilson <wilsons@start.ca>2011-01-15 00:13:27 +0000
committerStephen Wilson <wilsons@start.ca>2011-01-15 00:13:27 +0000
commit2f8e0f24dde1832809c4aa8e39be76685168655d (patch)
treeb0bc26603c23ccce777cf287a39da8edb42c24f6
parent57740ecedbc8e6eda7cd74659204a35b5a190d00 (diff)
downloadbcm5719-llvm-2f8e0f24dde1832809c4aa8e39be76685168655d.tar.gz
bcm5719-llvm-2f8e0f24dde1832809c4aa8e39be76685168655d.zip
Set the ID of a ProcessLinux instance to the PID of the inferior on launch.
llvm-svn: 123503
-rw-r--r--lldb/source/Plugins/Process/Linux/ProcessLinux.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/ProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/ProcessLinux.cpp
index 6e9c0fb311b..00bdda51036 100644
--- a/lldb/source/Plugins/Process/Linux/ProcessLinux.cpp
+++ b/lldb/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;
}
OpenPOWER on IntegriCloud