From e1dadb831a2ba3d68a576611670704c9bd1c2bc8 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 15 Sep 2011 00:21:03 +0000 Subject: [PATCH] Set the OS in the triple correctly in response to the qHostInfo packet. llvm-svn: 139759 --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 2a86042c978e..0c246f7e3894 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -949,7 +949,7 @@ GDBRemoteCommunicationClient::GetHostInfo (bool force) if (!vendor_name.empty()) m_host_arch.GetTriple().setVendorName (llvm::StringRef (vendor_name)); if (!os_name.empty()) - m_host_arch.GetTriple().setVendorName (llvm::StringRef (os_name)); + m_host_arch.GetTriple().setOSName (llvm::StringRef (os_name)); } }