summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorOleksiy Vyalov <ovyalov@google.com>2014-12-09 02:13:05 +0000
committerOleksiy Vyalov <ovyalov@google.com>2014-12-09 02:13:05 +0000
commit53c038a58127e337ba3c8332eb5a87880602c7d2 (patch)
tree015f432cbd08c22f9aeeebbbe03724bf0aafd37c /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parent6a2fabcc3ffe05a9e39fdc714ff94ec57400d1bc (diff)
downloadbcm5719-llvm-53c038a58127e337ba3c8332eb5a87880602c7d2.tar.gz
bcm5719-llvm-53c038a58127e337ba3c8332eb5a87880602c7d2.zip
Add Linux support for HostInfo::GetOSBuildString and HostInfo::GetOSKernelDescription.
llvm-svn: 223737
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
index 2e0cdd410e5..d00af89863c 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
@@ -1274,7 +1274,6 @@ GDBRemoteCommunicationServer::Handle_qHostInfo (StringExtractorGDBRemote &packet
}
std::string s;
-#if !defined(__linux__)
if (HostInfo::GetOSBuildString(s))
{
response.PutCString ("os_build:");
@@ -1287,7 +1286,6 @@ GDBRemoteCommunicationServer::Handle_qHostInfo (StringExtractorGDBRemote &packet
response.PutCStringAsRawHex8(s.c_str());
response.PutChar(';');
}
-#endif
#if defined(__APPLE__)
OpenPOWER on IntegriCloud