llvm-project/lldb
Greg Clayton 3fcbed6bda Stop the driver from handling SIGPIPE in case we communicate with stale
sockets so the driver doesn't just crash.

Added support for connecting to named sockets (unix IPC sockets) in
ConnectionFileDescriptor.

Modified the Host::LaunchInNewTerminal() for MacOSX to return the process
ID of the inferior process instead of the process ID of the Terminal.app. This
was done by modifying the "darwin-debug" executable to connect to lldb through
a named unix socket which is passed down as an argument. This allows a quick
handshake between "lldb" and "darwin-debug" so we can get the process ID
of the inferior and then attach by process ID and avoid attaching to the 
inferior by process name since there could be more than one process with 
that name. This still has possible race conditions, those will be fixed
in the near future. This fixes the SIGPIPE issues that were sometimes being
seen when task_for_pid was failing.

llvm-svn: 116792
2010-10-19 03:25:40 +00:00
..
docs Minor copy edits. 2010-09-11 00:37:21 +00:00
examples There's no need to explicitly call lldb.SBDebugger.Initialize() now. It is done 2010-10-15 16:33:17 +00:00
include Stop the driver from handling SIGPIPE in case we communicate with stale 2010-10-19 03:25:40 +00:00
lib Patch from Jay Cornwall that modifies the LLDB "Host" layer to reuse more 2010-09-07 20:11:56 +00:00
lldb.xcodeproj Still trying to get detach to work with debugserver. Got a bit closer, 2010-10-18 04:14:23 +00:00
resources Bumped versions to lldb-26 and debugserver-114 for a build. 2010-10-08 00:23:57 +00:00
scripts Add header files that were added to lldb.swig to the build 2010-10-18 23:00:51 +00:00
source Stop the driver from handling SIGPIPE in case we communicate with stale 2010-10-19 03:25:40 +00:00
test Modify the command passed to command interpreter from 'expr' (which is an alias of 'expression') 2010-10-19 00:52:07 +00:00
tools Stop the driver from handling SIGPIPE in case we communicate with stale 2010-10-19 03:25:40 +00:00
www Clarified some caveats for thread format strings. 2010-10-04 03:06:05 +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 Comment out test targets; they don't work on Linux because test/Makefile uses 2010-07-09 22:36:15 +00:00