* hppa-linux-tdep.c (hppa_linux_supply_fpregset): Correct iteration.

This commit is contained in:
Dave Anglin 2008-09-14 14:08:42 +00:00
parent c3229d3803
commit 51e753cf3a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-09-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* hppa-linux-tdep.c (hppa_linux_supply_fpregset): Correct iteration.
2008-09-13 Joel Brobecker <brobecker@adacore.com>
* defs.h (GCC_GENERATED_STDINT_H): Define.

View File

@ -474,12 +474,12 @@ hppa_linux_supply_fpregset (const struct regset *regset,
int i, offset;
offset = 0;
for (i = 0; i < 31; i++)
for (i = 0; i < 64; i++)
{
if (regnum == HPPA_FP0_REGNUM + i || regnum == -1)
regcache_raw_supply (regcache, HPPA_FP0_REGNUM + i,
buf + offset);
offset += 8;
offset += 4;
}
}