llvm-project/lldb/source/Plugins
Greg Clayton 29b8fc4da9 Added new options to lldb-platform:
--gdbserver-port PORT
    --min-gdbserver-port PORT
    --max-gdbserver-port PORT
    
The --gdbserver-port option can be specified multiple times to tell lldb-platform which ports it can use when launching child GDB server processes.
The --min-gdbserver-port and --max-gdbserver-port options allow a range of ports to be specified for use when launching child GDB server processes.

Fixed the code to manage these ports correctly in GDBRemoteCommunicationServer.

Also changed GDBRemoteCommunicationClient to not set a port when sending the "qLaunchGDBServer" packet so that the remote lldb-platform can decide which ports to use. If the lldb-platform was launched with no --gdbserver-port or --min-gdbserver-port/--max-gdbserver-port options, then port 0 is always used and a unix socket is used between the lldb-platform and child GDB server process to coordinate the use of valid port.

llvm-svn: 195300
2013-11-21 01:44:58 +00:00
..
ABI Changed the ABIs and ClangFunction to take a 2013-11-08 01:14:26 +00:00
Disassembler Roll back the changes I made in r193907 which created a new Frame 2013-11-04 09:33:30 +00:00
DynamicLoader <rdar://problem/15367122> 2013-11-05 23:28:00 +00:00
Instruction Fix header comment line length 2013-11-11 18:30:28 +00:00
LanguageRuntime This patch does a couple of things. 2013-11-07 00:11:47 +00:00
ObjectContainer Fix the format warnings. 2013-10-31 23:55:19 +00:00
ObjectFile Added the ability to get the SDK path for a target using the platform plugins. If LLDB lives inside an Xcode.app bundle, it will select the SDK in the Xcode bundle, else it will use the currently selected Xcode. 2013-10-24 22:54:08 +00:00
OperatingSystem <rdar://problem/14972424> 2013-10-17 01:10:23 +00:00
Platform Expose SBPlatform through the public API. 2013-11-20 21:07:01 +00:00
Process Added new options to lldb-platform: 2013-11-21 01:44:58 +00:00
SymbolFile Migrate DWARFDebugLine to DWARFDataExtractor 64-bit DWARF support 2013-10-31 19:51:53 +00:00
SymbolVendor Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
SystemRuntime Add logging for the SB API which creates extended 2013-11-19 05:44:41 +00:00
UnwindAssembly Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
Makefile SymbolVendor/ELF is actually referenced by default by lib/Makefile on all 2013-09-18 16:33:12 +00:00