b3e8692918
While debugging an application with GDB the following might happen: (gdb) return Make xxx return now? (y or n) y Could not fetch register "fflags"; remote failure reply 'E14' This is because riscv_gdb_get_fpu calls riscv_csrrw_debug with a wrong csr number (8). It should use the csr_register_map in order to reach the riscv_cpu_get_fflags callback. Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com> |
||
---|---|---|
.. | ||
insn_trans | ||
cpu_bits.h | ||
cpu_helper.c | ||
cpu_user.h | ||
cpu-param.h | ||
cpu.c | ||
cpu.h | ||
csr.c | ||
fpu_helper.c | ||
gdbstub.c | ||
helper.h | ||
insn16-32.decode | ||
insn16-64.decode | ||
insn16.decode | ||
insn32-64.decode | ||
insn32.decode | ||
instmap.h | ||
Makefile.objs | ||
monitor.c | ||
op_helper.c | ||
pmp.c | ||
pmp.h | ||
trace-events | ||
translate.c |