From af0494f1585f4d41c4eb9c64930fb077289d1190 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 13 May 2015 23:09:43 +0000 Subject: [PATCH] Restore breaks lost in shuffling GetSoftwareBreakpointTrapOpcode llvm-svn: 237313 --- lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp index b9f4c64..47d4199 100644 --- a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp +++ b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp @@ -597,12 +597,14 @@ PlatformFreeBSD::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite trap_opcode = g_aarch64_opcode; trap_opcode_size = sizeof(g_aarch64_opcode); } + break; case llvm::Triple::arm: { static const uint8_t g_arm_opcode[] = { 0xfe, 0xde, 0xff, 0xe7 }; trap_opcode = g_arm_opcode; trap_opcode_size = sizeof(g_arm_opcode); } + break; case llvm::Triple::mips64: { static const uint8_t g_hex_opcode[] = { 0x00, 0x00, 0x00, 0x0d }; @@ -617,6 +619,7 @@ PlatformFreeBSD::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite trap_opcode = g_ppc_opcode; trap_opcode_size = sizeof(g_ppc_opcode); } + break; case llvm::Triple::x86: case llvm::Triple::x86_64: { -- 2.7.4