llvm-project/lldb
Greg Clayton e2186ed6d9 Patch from Andrew Kaylor for linux:
The attached patch fixes a problem with performing an attach from the SBTarget API on Linux (and other systems that use ProcessPOSIX).
 
When Process::Attach was called from SBTarget, it resulted in a call to a form of the DoAttachWithID function that wasn't implemented in ProcessPOSIX, and so it fell back to the default implementation (which just returns an error).  It didn't seem necessary to use the attach_info parameter for this case, so I just implemented it as a call to the simpler version of the function.
 
In debugging this problem, I also found that SBTarget wasn't checking the return value from the Attach call, causing it to hang when the attach fails.

llvm-svn: 163399
2012-09-07 17:51:47 +00:00
..
docs
examples
include Ensure that the ShouldStopHere plans get called even when doing "virtual" steps. 2012-09-07 01:11:44 +00:00
lib
lldb.xcodeproj
lldb.xcworkspace
resources
scripts Patch for clang to include the UTF conversion routines that LLDB needs 2012-09-05 21:37:27 +00:00
source Patch from Andrew Kaylor for linux: 2012-09-07 17:51:47 +00:00
test
tools
utils
www
.gitignore
INSTALL.txt
LICENSE.TXT
Makefile