diff options
| author | Deepak Panickal <deepak@codeplay.com> | 2014-07-21 17:22:12 +0000 |
|---|---|---|
| committer | Deepak Panickal <deepak@codeplay.com> | 2014-07-21 17:22:12 +0000 |
| commit | 8006d319c2e73ece6d79ddccb8a2d37bd6045317 (patch) | |
| tree | 924ea70a804170332f25a8564396d3b923e1741d /lldb/source/Plugins/Platform/Windows | |
| parent | 2526ee5a2ddd8e0d169ce7999bc683df43c302bc (diff) | |
| download | bcm5719-llvm-8006d319c2e73ece6d79ddccb8a2d37bd6045317.tar.gz bcm5719-llvm-8006d319c2e73ece6d79ddccb8a2d37bd6045317.zip | |
Add the Hexagon DSP breakpoint opcode to PlatformWindows and PlatformLinux
llvm-svn: 213567
Diffstat (limited to 'lldb/source/Plugins/Platform/Windows')
| -rw-r--r-- | lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp b/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp index 8ae1d8ab3cd..0353eb6d3a0 100644 --- a/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp +++ b/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp @@ -291,7 +291,12 @@ PlatformWindows::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite break; case llvm::Triple::hexagon: - return 0; + { + static const uint8_t g_hex_opcode[] = { 0x0c, 0xdb, 0x00, 0x54 }; + trap_opcode = g_hex_opcode; + trap_opcode_size = sizeof(g_hex_opcode); + } + break; default: llvm_unreachable("Unhandled architecture in PlatformWindows::GetSoftwareBreakpointTrapOpcode()"); break; |

