diff options
Diffstat (limited to 'gdb/sparc64nbsd-nat.c')
-rw-r--r-- | gdb/sparc64nbsd-nat.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/sparc64nbsd-nat.c b/gdb/sparc64nbsd-nat.c index b37965c..a1567c5 100644 --- a/gdb/sparc64nbsd-nat.c +++ b/gdb/sparc64nbsd-nat.c @@ -56,15 +56,16 @@ sparc64nbsd_collect_gregset (const struct sparc_gregset *gregset, } static void -sparc64nbsd_supply_fpregset (struct regcache *regcache, +sparc64nbsd_supply_fpregset (const struct sparc_fpregset *fpregset, + struct regcache *regcache, int regnum, const void *fpregs) { int sparc32 = (gdbarch_ptr_bit (get_regcache_arch (regcache)) == 32); if (sparc32) - sparc32_supply_fpregset (regcache, regnum, fpregs); + sparc32_supply_fpregset (&sparc32_bsd_fpregset, regcache, regnum, fpregs); else - sparc64_supply_fpregset (regcache, regnum, fpregs); + sparc64_supply_fpregset (&sparc64_bsd_fpregset, regcache, regnum, fpregs); } static void @@ -74,9 +75,9 @@ sparc64nbsd_collect_fpregset (const struct regcache *regcache, int sparc32 = (gdbarch_ptr_bit (get_regcache_arch (regcache)) == 32); if (sparc32) - sparc32_collect_fpregset (regcache, regnum, fpregs); + sparc32_collect_fpregset (&sparc32_bsd_fpregset, regcache, regnum, fpregs); else - sparc64_collect_fpregset (regcache, regnum, fpregs); + sparc64_collect_fpregset (&sparc64_bsd_fpregset, regcache, regnum, fpregs); } /* Determine whether `gregset_t' contains register REGNUM. */ |