mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
* alphabsd-nat.c (supply_fpregset): Substract FP0_REGNUM from
register number when used as index into fpr_regs array.
This commit is contained in:
parent
6b3bf56090
commit
66c9e0f2b8
@ -1,3 +1,8 @@
|
||||
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,
|
||||
|
@ -101,7 +101,7 @@ supply_fpregset (fpregset_t *fpregsetp)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user