As pointed out in https://sourceware.org/pipermail/gdb-patches/2022-August/191357.html, GDB for aarch64 does some prologue analysis incorrectly and ends up skipping a non-existent prologue.
Checking this again, I noticed we do have a prologue for arm.
Fixed by 992545e7df523cb923eeeb21a753778a95da420e