diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2008-09-14 14:08:42 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2008-09-14 14:08:42 +0000 |
commit | 51e753cf3a117d45d613214326725352c3ebc47d (patch) | |
tree | bc191568e52919903a3168c8a83338ece488a48d /gdb/hppa-linux-tdep.c | |
parent | c3229d3803e1f5802fc26f6e5a08101bcb6620d7 (diff) | |
download | gdb-51e753cf3a117d45d613214326725352c3ebc47d.zip gdb-51e753cf3a117d45d613214326725352c3ebc47d.tar.gz gdb-51e753cf3a117d45d613214326725352c3ebc47d.tar.bz2 |
* hppa-linux-tdep.c (hppa_linux_supply_fpregset): Correct iteration.
Diffstat (limited to 'gdb/hppa-linux-tdep.c')
-rw-r--r-- | gdb/hppa-linux-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppa-linux-tdep.c b/gdb/hppa-linux-tdep.c index a5dc536..2cc591c 100644 --- a/gdb/hppa-linux-tdep.c +++ b/gdb/hppa-linux-tdep.c @@ -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; } } |