Index: base/debug/debugger_posix.cc |
diff --git a/base/debug/debugger_posix.cc b/base/debug/debugger_posix.cc |
index 60ad521830844a650cd27ebc587d24a5e4466d9c..6554f3f0cea530ba14683a620be2b60829657fb1 100644 |
--- a/base/debug/debugger_posix.cc |
+++ b/base/debug/debugger_posix.cc |
@@ -199,8 +199,10 @@ bool BeingDebugged() { |
// SIGABRT |
// Mac: Always send SIGTRAP. |
-#if defined(ARCH_CPU_ARM_FAMILY) |
+#if defined(ARCH_CPU_ARMEL) |
#define DEBUG_BREAK_ASM() asm("bkpt 0") |
+#elif defined(ARCH_CPU_ARM64) |
+#define DEBUG_BREAK_ASM() asm("brk 0") |
#elif defined(ARCH_CPU_MIPS_FAMILY) |
#define DEBUG_BREAK_ASM() asm("break 2") |
#elif defined(ARCH_CPU_X86_FAMILY) |