Set the OS in the triple correctly in response to the qHostInfo packet.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139759 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 2a86042..0c246f7 100644
--- a/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -949,7 +949,7 @@
                             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));
                                 
                         }
                     }