[Lldb-commits] [lldb] r139759 - /lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Greg Clayton gclayton at apple.com
Wed Sep 14 17:21:04 PDT 2011


Author: gclayton
Date: Wed Sep 14 19:21:03 2011
New Revision: 139759

URL: http://llvm.org/viewvc/llvm-project?rev=139759&view=rev
Log:
Set the OS in the triple correctly in response to the qHostInfo packet.


Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=139759&r1=139758&r2=139759&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp Wed Sep 14 19:21:03 2011
@@ -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));
                                 
                         }
                     }





More information about the lldb-commits mailing list