summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-09-15 00:21:03 +0000
committerGreg Clayton <gclayton@apple.com>2011-09-15 00:21:03 +0000
commite1dadb831a2ba3d68a576611670704c9bd1c2bc8 (patch)
treeab455357f4fbabb741c10c288aabb165858477b2 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parentda5f01017722404dcab0aea436b67f4575ebc1e5 (diff)
downloadbcm5719-llvm-e1dadb831a2ba3d68a576611670704c9bd1c2bc8.tar.gz
bcm5719-llvm-e1dadb831a2ba3d68a576611670704c9bd1c2bc8.zip
Set the OS in the triple correctly in response to the qHostInfo packet.
llvm-svn: 139759
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 2a86042c978..0c246f7e389 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));
}
}
OpenPOWER on IntegriCloud