llvm-project/lldb/tools
Greg Clayton 00fe87b488 Modified local spawning in debugserver processes to use a new --reverse-connect option so that debugserver actually connects back to LLDB instead of LLDB connecting to debugserver.
This gets rid of our hacky "get_random_port()" which would grab a random port and tell debugserver to open that port. Now LLDB creates, binds, listens and accepts a connection by binding to port zero and sending the correctly bound port down as the host:port to connect back to.

Fixed the "ConnectionFileDescriptor" to be able to correctly listen for connections from a specified host, localhost, or any host. Prior to this fix "listen://" only accepted the following format:

listen://<port>

But now it can accept:

listen://<port>         // Listen for connection from localhost on port <port>
listen://<host>:<port>  // Listen for connection from <host> and <port>    
listen://*:<port>       // Listen for connection from any host on port <port>

llvm-svn: 196547
2013-12-05 22:58:22 +00:00
..
darwin-debug Make sure the getopt variables are correctly initialized for any option parsing. 2013-11-22 18:55:04 +00:00
darwin-threads Move the code which translates a dispatch_qaddr into a 2013-10-18 05:55:24 +00:00
debugserver Modified local spawning in debugserver processes to use a new --reverse-connect option so that debugserver actually connects back to LLDB instead of LLDB connecting to debugserver. 2013-12-05 22:58:22 +00:00
driver Fixes to get LLDB building on Windows again. 2013-10-22 12:27:43 +00:00
install-headers Updated Apple LLDB version to lldb-300.99.0. Also 2013-03-07 22:29:06 +00:00
lldb-gdbserver Modified local spawning in debugserver processes to use a new --reverse-connect option so that debugserver actually connects back to LLDB instead of LLDB connecting to debugserver. 2013-12-05 22:58:22 +00:00
lldb-perf <rdar://problem/13732521> 2013-05-02 22:40:22 +00:00
lldb-platform Modified local spawning in debugserver processes to use a new --reverse-connect option so that debugserver actually connects back to LLDB instead of LLDB connecting to debugserver. 2013-12-05 22:58:22 +00:00
CMakeLists.txt Patch enabling lldb command line driver to run on windows. 2013-10-15 15:46:40 +00:00
Makefile MingW compilation (windows). Includes various refactoring to improve portability. 2013-08-23 12:44:05 +00:00