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

llvm-svn: 139759
This commit is contained in:
Greg Clayton
2011-09-15 00:21:03 +00:00
parent da5f010177
commit e1dadb831a

View File

@@ -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));
}
}