llvm-project/lldb
Greg Clayton e4e45924d7 Made the darwin host layer properly reap any child processes that it spawns.
After recent changes we weren't reaping child processes resulting in many
zombie processes. 

This was fixed by adding more settings to the ProcessLaunchOptions class
that allow clients to specify a callback function and baton to be notified
when their process dies. If one is not supplied a default callback will be
used that "does the right thing". 

Cleaned up a race condition in the ProcessGDBRemote class that would attempt
to monitor when debugserver died. 

Added an extra boolean to the process monitor callbacks that indicate if a
process exited or not. If your process exited with a zero exit status and no
signal, both items could be zero.

Modified the process monitor functions to not require a callback function
in order to reap the child process.

llvm-svn: 144780
2011-11-16 05:37:56 +00:00
..
docs Add reference to ToT/examples/customization for more customization examples. 2011-10-12 19:20:04 +00:00
examples Add an example customization directory which uses a binutils.py module to provide 2011-10-28 23:30:28 +00:00
include Made the darwin host layer properly reap any child processes that it spawns. 2011-11-16 05:37:56 +00:00
lib build: liblldb now depends on the linker library 2011-11-01 17:32:01 +00:00
lldb.xcodeproj Bumped Xcode project version for lldb-88 and debugserver-152. 2011-11-15 03:56:34 +00:00
lldb.xcworkspace Adding a Xcode workspace for lldb. 2011-01-27 20:15:39 +00:00
resources Bumped Xcode project version for lldb-88 and debugserver-152. 2011-11-15 03:56:34 +00:00
scripts Pulled in a new version of LLVM/Clang to solve a variety 2011-11-15 02:11:17 +00:00
source Made the darwin host layer properly reap any child processes that it spawns. 2011-11-16 05:37:56 +00:00
test While we are at it, verify that 'my_int_ptr' points to 'g_my_int', using the SBTarget.ResolveLoadAddress() to get its SBAddress, 2011-11-15 23:30:39 +00:00
tools Bumped Xcode project version for lldb-88 and debugserver-152. 2011-11-15 03:56:34 +00:00
utils Add a utility script: 2011-11-04 01:05:29 +00:00
www Updated the grossly out of date status page. 2011-10-27 01:33:27 +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 build/Make: Tweak Clang include paths to use LLVM_{SRC,OBJ}_ROOT instead of 2011-11-11 23:36:19 +00:00