Author: emaste Date: Wed May 13 18:12:51 2015 New Revision: 237315 URL: http://llvm.org/viewvc/llvm-project?rev=237315&view=rev Log: Add mips64el trap opcode to PlatformFreeBSD as well
Modified: lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp Modified: lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp?rev=237315&r1=237314&r2=237315&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp (original) +++ lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp Wed May 13 18:12:51 2015 @@ -612,6 +612,13 @@ PlatformFreeBSD::GetSoftwareBreakpointTr trap_opcode_size = sizeof(g_hex_opcode); } break; + case llvm::Triple::mips64el: + { + static const uint8_t g_hex_opcode[] = { 0x0d, 0x00, 0x00, 0x00 }; + trap_opcode = g_hex_opcode; + trap_opcode_size = sizeof(g_hex_opcode); + } + break; case llvm::Triple::ppc: case llvm::Triple::ppc64: { _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits