summaryrefslogtreecommitdiffstats
path: root/base/debug_util_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/debug_util_posix.cc')
-rw-r--r--base/debug_util_posix.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/debug_util_posix.cc b/base/debug_util_posix.cc
index a6d5199..84aebc3 100644
--- a/base/debug_util_posix.cc
+++ b/base/debug_util_posix.cc
@@ -108,8 +108,10 @@ bool DebugUtil::BeingDebugged() {
// static
void DebugUtil::BreakDebugger() {
-#if !defined(ARCH_CPU_ARM_FAMILY)
- asm ("int3");
+#if defined(ARCH_CPU_ARM_FAMILY)
+ asm("bkpt 0");
+#else
+ asm("int3");
#endif
}