diff options
| author | Ed Maste <emaste@freebsd.org> | 2015-05-13 23:12:51 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2015-05-13 23:12:51 +0000 |
| commit | da04cb26435c91ba504090bf03905fca3b67f7bb (patch) | |
| tree | 76f4e81c49a96573747ab62c758c0b631b638d72 /lldb/source/Plugins/Platform | |
| parent | a22b250c6ffaba93b5de2b126eac260585b19dd5 (diff) | |
| download | bcm5719-llvm-da04cb26435c91ba504090bf03905fca3b67f7bb.tar.gz bcm5719-llvm-da04cb26435c91ba504090bf03905fca3b67f7bb.zip | |
Add mips64el trap opcode to PlatformFreeBSD as well
llvm-svn: 237315
Diffstat (limited to 'lldb/source/Plugins/Platform')
| -rw-r--r-- | lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp index 47d4199ab76..d74d49ba98d 100644 --- a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp +++ b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp @@ -612,6 +612,13 @@ PlatformFreeBSD::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite trap_opcode_size = sizeof(g_hex_opcode); } break; + case llvm::Triple::mips64el: + { + static const uint8_t g_hex_opcode[] = { 0x0d, 0x00, 0x00, 0x00 }; + trap_opcode = g_hex_opcode; + trap_opcode_size = sizeof(g_hex_opcode); + } + break; case llvm::Triple::ppc: case llvm::Triple::ppc64: { |

