On Sun, 18 Jul 2021 at 19:02, Richard Henderson <richard.hender...@linaro.org> wrote: > > On 7/17/21 1:35 PM, Peter Maydell wrote: > > (What goes wrong if we just say "always use a TB size of 1 regardless > > of target arch" rather than having the arch return the worst case > > minimum insn length?) > > Hmm, possibly nothing. Perhaps I should try that and see what happens...
Some of the comments in these patches suggest it might trigger the warning in the disassembler about length mismatches; possibly also you might get duff (truncated) disassembly output? I suspect that's probably the extent of the problem. I guess these days the plugin API might get confused -- does it treat one of these nothing-there TBs as "nothing there" or does it try to work with the possibly-half-an-insn ? -- PMM