mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
* hppa-linux-tdep.c (hppa_linux_supply_fpregset): Correct iteration.
This commit is contained in:
parent
c3229d3803
commit
51e753cf3a
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user