ARM EABI Linux, breakpoints cause SIGILL and target dies

Nicholas Sherlock
Tue Jan 24 02:44:00 GMT 2012

On 24 January 2012 02:29, Ulrich Weigand <> wrote:
> If this does not work correctly for some reason, this would explain
> both why GDB doesn't recognize the situation *and* also why the
> kernel doesn't recognize the breakpoint instruction to convert the
> signal into a SIGTRAP.

Yeah, that sounds likely.

> Do you see any differences either here in traps.c, or in one of the
> entry-*.S assembler files, between your two kernels?

Thanks for the pointer! I found the commit that fixed this bug in the
ARM kernel entry routine:

I'll port that patch over to my kernel and see if it fixes GDB.

Nicholas Sherlock

More information about the Gdb mailing list