Chromium Code Reviews| Index: src/platform-freebsd.cc |
| =================================================================== |
| --- src/platform-freebsd.cc (revision 3946) |
| +++ src/platform-freebsd.cc (working copy) |
| @@ -192,7 +192,8 @@ |
| void OS::DebugBreak() { |
|
Søren Thygesen Gjesse
2010/02/25 11:25:58
Wont this not lead to emitting int $3 with __arm__
|
| -#if defined(__arm__) || defined(__thumb__) |
| +#if (defined(__arm__) || defined(__thumb__)) && \ |
| + defined(CAN_USE_ARMV5_INSTRUCTIONS) |
| asm("bkpt 0"); |
| #else |
| asm("int $3"); |