Chromium Code Reviews| Index: runtime/vm/os_linux.cc |
| =================================================================== |
| --- runtime/vm/os_linux.cc (revision 44777) |
| +++ runtime/vm/os_linux.cc (working copy) |
| @@ -507,8 +507,10 @@ |
| void OS::DebugBreak() { |
| #if defined(HOST_ARCH_X64) || defined(HOST_ARCH_IA32) |
| asm("int $3"); |
| -#elif defined(HOST_ARCH_ARM) |
| +#elif defined(HOST_ARCH_ARM) && !defined(__THUMBEL__) |
| asm("svc #0x9f0001"); // __ARM_NR_breakpoint |
|
zra
2015/03/30 17:25:00
This is not a valid thumb instruction.
srdjan
2015/03/30 17:39:50
Is there a breakpoint instruction in thumb instruc
zra
2015/03/30 20:02:05
After cleanup, only the Intel instruction should b
|
| +#elif defined(HOST_ARCH_ARM) && defined(__THUMBEL__) |
| + UNIMPLEMENTED(); |
| #elif defined(HOST_ARCH_MIPS) || defined(HOST_ARCH_ARM64) |
| UNIMPLEMENTED(); |
|
regis
2015/03/30 18:12:43
I am wondering how you figured out that this instr
zra
2015/03/30 20:02:05
gcc refuses to compile the inline assembly if you
|
| #else |