On Thu, 28 Jan 2021 at 08:49, Richard Henderson <richard.hender...@linaro.org> wrote: > > On 1/22/21 3:59 AM, Peter Maydell wrote: > > Does it work if we just always queue the SEGV on exit from cpu_exec() > > and let the signal handling machinery prioritize if we also pend > > some other signal because this was an EXCP_UDEF or whatever? > > It would be neater if we could keep the fault-check outside the > > switch (trapnr) somehow. > > I would think so. I'll try that.
In particular it seems worth testing whether 'singlestep in gdbstub over an insn that takes an async MTE fault' has reasonable user-facing behaviour. thanks -- PMM