summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-09-05 14:56:13 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-09-05 14:56:13 +0000
commit0cc371c166df8d0f1afb3fa24e934e049796dbd1 (patch)
treec35a55e0c159cf1f4b17fe64b80de21b28cfca47 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent0ee56ce64006ef1167c239c2c76381890f9a2932 (diff)
downloadbcm5719-llvm-0cc371c166df8d0f1afb3fa24e934e049796dbd1.tar.gz
bcm5719-llvm-0cc371c166df8d0f1afb3fa24e934e049796dbd1.zip
Set the process vendor in GDBRemoteCommunicationClient::GetCurrentProcessInfo.
Change by Stephane Sezer. llvm-svn: 217252
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 5e4ed7648f9..fab98c09662 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -2501,6 +2501,7 @@ GDBRemoteCommunicationClient::GetCurrentProcessInfo ()
{
assert (pointer_byte_size == m_process_arch.GetAddressByteSize());
}
+ m_process_arch.GetTriple().setVendorName (llvm::StringRef (vendor_name));
m_process_arch.GetTriple().setOSName(llvm::StringRef (os_name));
m_host_arch.GetTriple().setVendorName (llvm::StringRef (vendor_name));
m_host_arch.GetTriple().setOSName (llvm::StringRef (os_name));
OpenPOWER on IntegriCloud