breakpoint_code_x86
};
-static uint32_t breakpoint_code_arm[] = { NACL_INSTR_ARM_BREAKPOINT };
+// We use an illegal instruction rather than BKPT because BKPT cannot
+// be caught under qemu-arm whereas illegal instructions can.
+static uint32_t breakpoint_code_arm[] = { NACL_INSTR_ARM_ABORT_NOW };
static Abi::BPDef breakpoint_arm = {
sizeof(breakpoint_code_arm),
(uint8_t *) breakpoint_code_arm