[Lldb-commits] [lldb] r237313 - Restore breaks lost in shuffling GetSoftwareBreakpointTrapOpcode

Ed Maste emaste at freebsd.org
Wed May 13 16:09:43 PDT 2015


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:
         {





More information about the lldb-commits mailing list