diff options
| author | Stephen Wilson <wilsons@start.ca> | 2011-01-15 00:13:27 +0000 |
|---|---|---|
| committer | Stephen Wilson <wilsons@start.ca> | 2011-01-15 00:13:27 +0000 |
| commit | 2f8e0f24dde1832809c4aa8e39be76685168655d (patch) | |
| tree | b0bc26603c23ccce777cf287a39da8edb42c24f6 | |
| parent | 57740ecedbc8e6eda7cd74659204a35b5a190d00 (diff) | |
| download | bcm5719-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.cpp | 1 |
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; } |

