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 Incorporate suggestions from Jim, add "USING LLDB" and "FILES" sections. 2012-06-08 23:49:32 +00:00
examples <rdar://problem/12068655> Make sure [NSDate distantPast] is formatted correctly 2012-09-04 20:02:39 +00:00
include Ensure that the ShouldStopHere plans get called even when doing "virtual" steps. 2012-09-07 01:11:44 +00:00
lib Fixes by Daniel Malea. 2012-08-28 13:59:38 +00:00
lldb.xcodeproj <rdar://problem/11485744> Implement important data formatters in C++. Have the Objective-C language runtime plugin expose class descriptors objects akin to the objc_runtime.py Pythonic implementation. Rewrite the data formatters for some core Cocoa classes in C++ instead of Python. 2012-09-04 18:47:54 +00:00
lldb.xcworkspace I accidentally committed some changes to the 2011-12-21 21:30:33 +00:00
resources Updating Xcode project version numbers for lldb-165 and debugserver-192 2012-08-07 00:32:29 +00:00
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 <rdar://problem/11485744> Implement important data formatters in C++. Have the Objective-C language runtime plugin expose class descriptors objects akin to the objc_runtime.py Pythonic implementation. Rewrite the data formatters for some core Cocoa classes in C++ instead of Python. 2012-09-04 18:47:54 +00:00
tools Committed a simple dtrace script that tracks 2012-08-17 16:30:13 +00:00
utils Minor cleanup. 2012-03-05 18:25:29 +00:00
www Add the "expr" command to the gdb command equivalents. 2012-08-24 22:56:40 +00:00
.gitignore Remove "llvm" from list of things to ignore. This results in the 2012-03-03 06:43:59 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Revert the RTTI change from r151187. It make lldb compile with g++ 4.4 but it doesn't link anymore. The bug seems to be fixed in g++ 4.5. 2012-02-22 21:00:17 +00:00