diff options
author | Greg Clayton <gclayton@apple.com> | 2012-10-12 16:10:12 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-10-12 16:10:12 +0000 |
commit | 926cce7619b0b42fe05b9523f3618b89a51a37aa (patch) | |
tree | b87da9401fbbb141cde141cc5ca2bb4fe21a5f35 /lldb/source/Plugins/Process/Linux | |
parent | 4d88f05fe08d5dcfd6166408ac6c5331f5c43be1 (diff) | |
download | bcm5719-llvm-926cce7619b0b42fe05b9523f3618b89a51a37aa.tar.gz bcm5719-llvm-926cce7619b0b42fe05b9523f3618b89a51a37aa.zip |
Modified patch from Matt Kopec that makes sure the run lock is acquired when attaching and makes sure the pid is being set on linux in the process info.
llvm-svn: 165804
Diffstat (limited to 'lldb/source/Plugins/Process/Linux')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp b/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp index eaecf339094..67054054fab 100644 --- a/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp +++ b/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp @@ -1193,6 +1193,8 @@ ProcessMonitor::Attach(AttachArgs *args) goto FINISH; } + monitor->m_pid = pid; + // Update the process thread list with the attached thread. inferior.reset(new POSIXThread(processSP, pid)); if (log) |