| commit | 743ecf43930d62ba55f58bd30f82ba7de502c0c3 | [log] [tgz] |
|---|---|---|
| author | Greg Clayton <gclayton@apple.com> | Tue Oct 16 20:20:18 2012 +0000 |
| committer | Greg Clayton <gclayton@apple.com> | Tue Oct 16 20:20:18 2012 +0000 |
| tree | 449caa51eeeaf405620b2411661debfff8e6b3ac | |
| parent | e4ad2a0b96f0d836bf8e4e65b9b786dc2105d966 [diff] |
Patch from Matt Kopec: This patch fixes an issue where if lldb fails to attach to a process (ie. invalid pid) on Linux, the process monitor thread gets stuck waiting for a signal from the attach thread, which never comes due to not being signaled. It also implements StopOpThread which is used for both attach/launch cases as I'm not aware of any special handling needed for the attach case. Also, propagate 'Error' from the Detach function instead of using a bool. llvm-svn: 166055