diff options
author | Greg Clayton <gclayton@apple.com> | 2013-12-04 19:19:12 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-12-04 19:19:12 +0000 |
commit | 91a9b247d473cebc23cee55309aecc56a0c29f64 (patch) | |
tree | 2b17093853340a7e78025fe809f1748ca211ff2b /lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h | |
parent | c15bf89122f60a0e06a17f4ae7ee32892665fd33 (diff) | |
download | bcm5719-llvm-91a9b247d473cebc23cee55309aecc56a0c29f64.tar.gz bcm5719-llvm-91a9b247d473cebc23cee55309aecc56a0c29f64.zip |
Switch local launching of debugserver over to always use a FIFO in order to handshake with the launched debugserver.
This helps ensure that the launched debugserver is ready and listening for a connection. Prior to this we had a race condition.
Consolidate the launching of debugserver into a single place: a static function in GDBRemoteCommunication.
llvm-svn: 196401
Diffstat (limited to 'lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h')
-rw-r--r-- | lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h index f53b190522f..98a146d5a06 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h @@ -142,15 +142,6 @@ public: { return m_packet_timeout * lldb_private::TimeValue::MicroSecPerSec; } - //------------------------------------------------------------------ - // Start a debugserver instance on the current host using the - // supplied connection URL. - //------------------------------------------------------------------ - lldb_private::Error - StartDebugserverProcess (const char *connect_url, - const char *unix_socket_name, - lldb_private::ProcessLaunchInfo &launch_info); - //------------------------------------------------------------------ // Public Request Packets |