commit | e1dadb831a2ba3d68a576611670704c9bd1c2bc8 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Thu Sep 15 00:21:03 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Thu Sep 15 00:21:03 2011 +0000 |
tree | ab455357f4fbabb741c10c288aabb165858477b2 | |
parent | da5f01017722404dcab0aea436b67f4575ebc1e5 [diff] [blame] |
Set the OS in the triple correctly in response to the qHostInfo packet. llvm-svn: 139759
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 2a86042..0c246f7 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/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)); } }