From da04cb26435c91ba504090bf03905fca3b67f7bb Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 13 May 2015 23:12:51 +0000 Subject: [PATCH] Add mips64el trap opcode to PlatformFreeBSD as well llvm-svn: 237315 --- lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp index 47d4199ab761..d74d49ba98d4 100644 --- a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp +++ b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp @@ -612,6 +612,13 @@ PlatformFreeBSD::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite 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: {