On Sat, 17 Jul 2021 at 19:43, Richard Henderson <richard.hender...@linaro.org> wrote: > > On 7/17/21 10:42 AM, Alex Bennée wrote: > > Hmm we are testing a magic global here and looking at > > cpu->singlestep_enabled lower down. We have a transient singlestep which > > is turned on an off via cpu->singlestep_enabled and a global as a debug > > option. Can we rationalise it further? > > Not sure what you're asking. > > cpu->singlestep_enabled raises a debug exception after one insn, whereas > singlestep merely > exits the tb after one insn.
We really should rename 'singlestep' to 'one_insn_per_tb' or something, because it's continually confusing... -- PMM