diff options
author | Jim Wilson <jimw@sifive.com> | 2019-02-04 17:31:10 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2019-02-08 13:23:44 -0800 |
commit | 617126bc8ae3c83b565aef1a454742c8a7237c14 (patch) | |
tree | 312286bc904dffaa269a15679258c6d588e9b075 /bfd | |
parent | 21820ebe588d89fa874cbd87c117eb9d551d870f (diff) | |
download | gdb-617126bc8ae3c83b565aef1a454742c8a7237c14.zip gdb-617126bc8ae3c83b565aef1a454742c8a7237c14.tar.gz gdb-617126bc8ae3c83b565aef1a454742c8a7237c14.tar.bz2 |
RISC-V: Add FP register core file support.
This adds fp reg support similar to the existing general reg support.
This fixes one gdb testsuite failure
FAIL: gdb.base/gcore.exp: corefile restored system registers
which fails without the patch because fcsr was missing. Otherwise, no
regressions with riscv64-linux native testsuite run.
gdb/
* riscv-linux-tdep.c (riscv_linux_fregmap): New.
(riscv_linux_fregset): New.
(riscv_linux_iterate_over_regset_sections): Call cb for .reg2 section.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions