For me, with current head-of-git QEMU, the program crashes with a SIGSEGV very early in execution, because:
0x00008260: e59f30f0 ldr r3, [pc, #0xf0]
loads 0 into r3, and then
0x00008270: e1a0d003 mov sp, r3
sets sp to 0, and then
0x000087b0: e92d4030 push {r4, r5, lr}
tries to write to addres 0, which causes a SEGV.
This happens whether using the gdbstub or not.
For me, with current head-of-git QEMU, the program crashes with a SIGSEGV very early in execution, because:
0x00008260: e59f30f0 ldr r3, [pc, #0xf0]
loads 0 into r3, and then
0x00008270: e1a0d003 mov sp, r3
sets sp to 0, and then
0x000087b0: e92d4030 push {r4, r5, lr}
tries to write to addres 0, which causes a SEGV.
This happens whether using the gdbstub or not.