![christos](/assets/img/avatar_default.png)
ARM uses an undefined instruction to emulate a software breakpoint. However, the ptrace.h instruction on the one hand, and gdb/the kernel disagree on the exact value. This causes PTRACE_BREAKPOINT_ASM to generate a SIGILL instead of a SIGTRAP.
ARM uses an undefined instruction to emulate a software breakpoint. However, the ptrace.h instruction on the one hand, and gdb/the kernel disagree on the exact value. This causes PTRACE_BREAKPOINT_ASM to generate a SIGILL instead of a SIGTRAP.