diff --git a/src/platform-linux.cc b/src/platform-linux.cc index 393bf12608..88b28c572d 100644 --- a/src/platform-linux.cc +++ b/src/platform-linux.cc @@ -284,7 +284,7 @@ void OS::Abort() { void OS::DebugBreak() { -#ifdef ARM +#if defined(__arm__) || defined(__thumb__) asm("bkpt 0"); #else asm("int $3");