On Thu, Dec 2, 2021 at 8:26 PM Stefan Ring <stefanrin@xxxxxxxxx> wrote: > I would at least not use Thumb in the beginning. This is notoriously > annoying to debug in gdb because you can never be sure that the CPU's > and the debugger's opinion on the current operating mode agree. Ok, forget about that: cc1: error: target CPU does not support ARM mode ;)