diff options
author | Oleksiy Vyalov <ovyalov@google.com> | 2015-10-21 19:34:26 +0000 |
---|---|---|
committer | Oleksiy Vyalov <ovyalov@google.com> | 2015-10-21 19:34:26 +0000 |
commit | 9fe526c2e741351387d572093d65da2018d6b88a (patch) | |
tree | 56799a886db0c714fcc3b08fc20ae9f5a8920819 /lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h | |
parent | 526b5f9cd4794794d278db42c56f074404aa9a5e (diff) | |
download | bcm5719-llvm-9fe526c2e741351387d572093d65da2018d6b88a.tar.gz bcm5719-llvm-9fe526c2e741351387d572093d65da2018d6b88a.zip |
Add domain socket support to gdb-remote protocol and lldb-server.
http://reviews.llvm.org/D13881
llvm-svn: 250933
Diffstat (limited to 'lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h')
-rw-r--r-- | lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h b/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h index 7b997e8c561..ffba509bbfb 100644 --- a/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h +++ b/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h @@ -225,11 +225,12 @@ protected: lldb::UnixSignalsSP m_remote_signals_sp; - // Launch the lldb-gdbserver on the remote host and return the port it is listening on or 0 on - // failure. Subclasses should override this method if they want to do extra actions before or - // after launching the lldb-gdbserver. - virtual uint16_t - LaunchGDBserverAndGetPort (lldb::pid_t &pid); + // Launch the debug server on the remote host - caller connects to launched + // debug server using connect_url. + // Subclasses should override this method if they want to do extra actions before or + // after launching the debug server. + virtual bool + LaunchGDBServer (lldb::pid_t &pid, std::string &connect_url); virtual bool KillSpawnedProcess (lldb::pid_t pid); @@ -244,7 +245,8 @@ private: std::string MakeGdbServerUrl(const std::string &platform_scheme, const std::string &platform_hostname, - uint16_t port); + uint16_t port, + const char* socket_name); DISALLOW_COPY_AND_ASSIGN (PlatformRemoteGDBServer); |