Skip to content
Unverified Commit b8c8a959 authored by Jim Wilson's avatar Jim Wilson Committed by Palmer Dabbelt
Browse files

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: default avatarJim Wilson <jimw@sifive.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent 86e581e3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment