On 11/17/22 15:06, Marc Zyngier wrote:
monitor is cleared by eret. gdb is allegedly smart enough to skip over atomic sequences, but our selftest... not so much.I'm not sure how GDB performs this feat without completely messing things up in some cases...
As far as I know what happens is simply that "step" sets a breakpoint to the next line of *source* code. "stepi" instead works on an instruction bases and will not make any progress over LL/SC sequences.
Paolo