diff options
| author | KONRAD Frederic | 2019-09-10 10:15:41 +0200 |
|---|---|---|
| committer | Palmer Dabbelt | 2019-09-17 17:42:50 +0200 |
| commit | b3e86929189c526d22ef49e18f2f5066535f6deb (patch) | |
| tree | 51ebc1a0749211c23d2bc131af58bd8b6b6e4deb /include | |
| parent | target/riscv: Use TB_FLAGS_MSTATUS_FS for floating point (diff) | |
| download | qemu-b3e86929189c526d22ef49e18f2f5066535f6deb.tar.gz qemu-b3e86929189c526d22ef49e18f2f5066535f6deb.tar.xz qemu-b3e86929189c526d22ef49e18f2f5066535f6deb.zip | |
gdbstub: riscv: fix the fflags registers
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
