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/gdb-remote/ProcessGDBRemote.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/gdb-remote/ProcessGDBRemote.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index 35244074bab..ca92504dbdf 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -284,10 +284,7 @@ protected: lldb_private::ThreadList &new_thread_list); lldb_private::Error - StartDebugserverProcess (const char *debugserver_url); - - lldb_private::Error - StartDebugserverProcess (const char *debugserver_url, const lldb_private::ProcessInfo &process_info); + LaunchAndConnectToDebugserver (const lldb_private::ProcessInfo &process_info); void KillDebugserverProcess (); |