On Wed, Feb 15, 2023 at 3:25 AM Daniel Henrique Barboza <dbarb...@ventanamicro.com> wrote: > > RISCV_FEATURE_DEBUG will always follow the value defined by > cpu->cfg.debug flag. Read the flag instead. > > Reviewed-by: Weiwei Li <liwei...@iscas.ac.cn> > Signed-off-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com> > --- > target/riscv/cpu.c | 6 +----- > target/riscv/cpu.h | 1 - > target/riscv/cpu_helper.c | 2 +- > target/riscv/csr.c | 2 +- > target/riscv/machine.c | 3 +-- > 5 files changed, 4 insertions(+), 10 deletions(-) >
Reviewed-by: Bin Meng <bm...@tinylab.org>