diff options
| -rw-r--r-- | lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp index b9f4c64f42a..47d4199ab76 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: { |

