register number when used as index into fpr_regs array.
+2000-06-02 Mark Kettenis <kettenis@gnu.org>
+
+ * alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM from
+ register number when used as index into fpr_regs array.
+
Tue May 30 13:31:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
* defs.h (TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
if (CANNOT_FETCH_REGISTER (i))
supply_register (i, NULL);
else
- supply_register (i, (char *) &fpregsetp->fpr_regs[i]);
+ supply_register (i, (char *) &fpregsetp->fpr_regs[i - FP0_REGNUM]);
}
supply_register (FPCR_REGNUM, (char *) &fpregsetp->fpr_cr);