How do I do the equivalent of an x86 software interrupt:
asm( \"int $3\" )
on an ARM processor (specifically a Cortex A8) to generate an event
__asm__ __volatile__ ("bkpt #0");
See BKPT man entry.