[Lldb-commits] [lldb] r262021 - Add mips32 software breakpoints into platform::GetSoftwareBreakpointTrapOpcode().
Aidan Dodds via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 26 07:11:02 PST 2016
Author: aidandodds
Date: Fri Feb 26 09:11:01 2016
New Revision: 262021
URL: http://llvm.org/viewvc/llvm-project?rev=262021&view=rev
Log:
Add mips32 software breakpoints into platform::GetSoftwareBreakpointTrapOpcode().
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.
Modified:
lldb/trunk/source/Target/Platform.cpp
Modified: lldb/trunk/source/Target/Platform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Platform.cpp?rev=262021&r1=262020&r2=262021&view=diff
==============================================================================
--- lldb/trunk/source/Target/Platform.cpp (original)
+++ lldb/trunk/source/Target/Platform.cpp Fri Feb 26 09:11:01 2016
@@ -2096,6 +2096,7 @@ Platform::GetSoftwareBreakpointTrapOpcod
}
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::GetSoftwareBreakpointTrapOpcod
}
break;
+ case llvm::Triple::mipsel:
case llvm::Triple::mips64el:
{
static const uint8_t g_hex_opcode[] = {0x0d, 0x00, 0x00, 0x00};
More information about the lldb-commits
mailing list