On Sun, Oct 17, 2021 at 3:32 AM Richard Henderson <richard.hender...@linaro.org> wrote: > > The position of this read-only field is dependent on the > current cpu width. Rather than having to compute that > difference in many places, compute it only on read. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
This means that the value reported by riscv_cpu_dump_state() and GDB will both be incorrect though? Alistair