Chromium Code Reviews| Index: base/debug_util_posix.cc |
| diff --git a/base/debug_util_posix.cc b/base/debug_util_posix.cc |
| index a6d519983a094e062fd0e0040768365fb6cf2d87..84aebc3bfe3e967c7fa06b1dc178f9a8d73c397a 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 |
| } |