commit | 89798cc3db1b225f6555cdd07f47ca317c0aae5d | [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 | 5060bfa5dc07e0b0d87c93aac054d9ecafa3e1e1 | |
parent | 22a56cc608f2b7be31b8d889e4f9ce02c649dc45 [diff] [blame] |
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)); } }