Add mips32 software breakpoints into platform::GetSoftwareBreakpointTrapOpcode().
authorAidan Dodds <aidan@codeplay.com>
Fri, 26 Feb 2016 15:11:01 +0000 (15:11 +0000)
committerAidan Dodds <aidan@codeplay.com>
Fri, 26 Feb 2016 15:11:01 +0000 (15:11 +0000)
The software breakpoint definitions for mips32 should have been included in my
recent patch that moved the software breakpoint definitions into the base platform
class.

llvm-svn: 262021

lldb/source/Target/Platform.cpp

index bcf5241..436a710 100644 (file)
@@ -2096,6 +2096,7 @@ Platform::GetSoftwareBreakpointTrapOpcode(Target &target, BreakpointSite *bp_sit
         }
         break;
 
+    case llvm::Triple::mips:
     case llvm::Triple::mips64:
         {
             static const uint8_t g_hex_opcode[] = {0x00, 0x00, 0x00, 0x0d};
@@ -2104,6 +2105,7 @@ Platform::GetSoftwareBreakpointTrapOpcode(Target &target, BreakpointSite *bp_sit
         }
         break;
 
+    case llvm::Triple::mipsel:
     case llvm::Triple::mips64el:
         {
             static const uint8_t g_hex_opcode[] = {0x0d, 0x00, 0x00, 0x00};