Re: [PATCH v4 0/3] target/riscv: Expose "priv" register for GDB

2019-10-18 Thread Palmer Dabbelt
On Mon, 14 Oct 2019 08:45:26 PDT (-0700), jonat...@fintelia.io wrote: This series adds a new "priv" virtual register that reports the current privilege mode. This is helpful for debugging purposes because that information is not actually available in any of the real CSRs. The third patch in thi

[PATCH v4 0/3] target/riscv: Expose "priv" register for GDB

2019-10-14 Thread Jonathan Behrens
This series adds a new "priv" virtual register that reports the current privilege mode. This is helpful for debugging purposes because that information is not actually available in any of the real CSRs. The third patch in this series makes the priv virtual register writitable. I'm not entirely s