summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
diff options
context:
space:
mode:
authorVince Harron <vharron@google.com>2015-01-21 22:42:49 +0000
committerVince Harron <vharron@google.com>2015-01-21 22:42:49 +0000
commit1b5a74eea7fff1432dcb97a8107db6d13bee85ee (patch)
tree64e8ef041b6faaddb935ff8c5efcd078664bd7d0 /lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
parent229eb4ca5c0d955e59d4a53ae58afd0b2385a11d (diff)
downloadbcm5719-llvm-1b5a74eea7fff1432dcb97a8107db6d13bee85ee.tar.gz
bcm5719-llvm-1b5a74eea7fff1432dcb97a8107db6d13bee85ee.zip
This patch gets remote-linux platform able to run processes
Make sure the selected platform is always used Make sure that the host uses the connect://hostname to connect to both the lldb-platform and the lldb-gdbserver rather than what the platform reports as the hostname of the lldb-gdbserver Make sure that lldb-platform uses the IP address on it's connection back to the host instead of the hostname that the host sends to it when launching lldb-gdbserver with the remote host information Tested on OSX and Linux llvm-svn: 226712
Diffstat (limited to 'lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h')
-rw-r--r--lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h b/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
index 90b16b8b8fa..a40a3ae20b2 100644
--- a/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
+++ b/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
@@ -212,6 +212,7 @@ public:
protected:
GDBRemoteCommunicationClient m_gdb_client;
std::string m_platform_description; // After we connect we can get a more complete description of what we are connected to
+ std::string m_platform_hostname;
private:
DISALLOW_COPY_AND_ASSIGN (PlatformRemoteGDBServer);
OpenPOWER on IntegriCloud