I didn't notice this one in my previous commit that added breakpoints opcode
for ARM64...
http://reviews.llvm.org/D5078
Files:
source/Plugins/Process/POSIX/ProcessPOSIX.cpp
Index: source/Plugins/Process/POSIX/ProcessPOSIX.cpp
===================================================================
--- source/Plugins/Process/POSIX/ProcessPOSIX.cpp
+++ source/Plugins/Process/POSIX/ProcessPOSIX.cpp
@@ -642,6 +642,7 @@
size_t
ProcessPOSIX::GetSoftwareBreakpointTrapOpcode(BreakpointSite* bp_site)
{
+ static const uint8_t g_aarch64_opcode[] = { 0x00, 0x00, 0x20, 0xD4 };
static const uint8_t g_i386_opcode[] = { 0xCC };
ArchSpec arch = GetTarget().GetArchitecture();
@@ -654,6 +655,11 @@
assert(false && "CPU type not supported!");
break;
+ case llvm::Triple::aarch64:
+ opcode = g_aarch64_opcode;
+ opcode_size = sizeof(g_aarch64_opcode);
+ break;
+
case llvm::Triple::x86:
case llvm::Triple::x86_64:
opcode = g_i386_opcode;
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits