gdb/riscv: Add float status registers to save and restore reggroups
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 13 Dec 2018 19:06:23 +0000 (19:06 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 22 Dec 2018 10:02:20 +0000 (10:02 +0000)
commitecc82c059059cfa21a8a099779253686f9637f9f
tree7dab3fa09b096efe9452109ed7beb329f302d87c
parentfb44d95af64dd0609760c1400b9ce4da09296cd1
gdb/riscv: Add float status registers to save and restore reggroups

We should save and restore the floating point status registers.  This
became an issue when testing 32-bit float on a target with 64-bit with
the gdb.base/callfuncs.exp test.

gdb/ChangeLog:

* riscv-tdep.c (riscv_register_reggroup_p): Save and restore fcsr,
fflags, and frm registers.
gdb/ChangeLog
gdb/riscv-tdep.c