commit | b8c8a9590e4fde82f8c3ee06a521763e6f21e9c8 | [log] [tgz] |
---|---|---|
author | Jim Wilson <jimw@sifive.com> | Wed Oct 17 17:59:05 2018 -0700 |
committer | Palmer Dabbelt <palmer@sifive.com> | Mon Oct 22 17:38:04 2018 -0700 |
tree | c87efbb682f18144e651ecdfd79d95c71bf26087 | |
parent | 86e581e310785782e2025a076dc9a3f5138e5bf3 [diff] |
RISC-V: Add FP register ptrace support for gdb. Add a variable and a macro to describe FP registers, assuming only D is supported. FP code is conditional on CONFIG_FPU. The FP regs and FCSR are copied separately to avoid copying struct padding. Tested by hand and with the gdb testsuite. Signed-off-by: Jim Wilson <jimw@sifive.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>