On Tue, Oct 8, 2019 at 8:20 AM Jonathan Behrens <jonat...@fintelia.io> wrote: > > Currently only PRV_U, PRV_S and PRV_M are supported, so this patch ensures > that > the privilege mode is set to one of them. Once support for the H-extension is > added, this code will also need to properly update the virtualization status > when switching between VU/VS-modes and M-mode. > > Signed-off-by: Jonathan Behrens <jonat...@fintelia.io> > --- > target/riscv/gdbstub.c | 9 +++++++++ > 1 file changed, 9 insertions(+) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> Tested-by: Bin Meng <bmeng...@gmail.com>