Author: emaste Date: Wed May 13 18:09:43 2015 New Revision: 237313 URL: http://llvm.org/viewvc/llvm-project?rev=237313&view=rev Log: Restore breaks lost in shuffling GetSoftwareBreakpointTrapOpcode
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=237313&r1=237312&r2=237313&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp (original) +++ lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp Wed May 13 18:09:43 2015 @@ -597,12 +597,14 @@ PlatformFreeBSD::GetSoftwareBreakpointTr 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::GetSoftwareBreakpointTr trap_opcode = g_ppc_opcode; trap_opcode_size = sizeof(g_ppc_opcode); } + break; case llvm::Triple::x86: case llvm::Triple::x86_64: { _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits