From 6d9fe8c156f49ca4cd4404473f9115701f9b4581 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 21 Aug 2015 00:13:37 +0000 Subject: The llvm Triple for an armv6m now comes back as llvm::Triple::thumb. This was breaking disassembly for arm machines that we force to be thumb mode all the time because we were only checking for llvm::Triple::arm. i.e. armv6m (ARM Cortex-M0) armv7m (ARM Cortex-M3) armv7em (ARM Cortex-M4) llvm-svn: 245645 --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp index 8a00e616262..bb57b3ee9f3 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp @@ -1209,6 +1209,7 @@ GDBRemoteCommunicationServerCommon::CreateProcessInfoResponse_DebugServerStyle ( switch (proc_triple.getArch ()) { case llvm::Triple::arm: + case llvm::Triple::thumb: case llvm::Triple::aarch64: ostype = "ios"; break; -- cgit v1.2.3