From 51e753cf3a117d45d613214326725352c3ebc47d Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Sun, 14 Sep 2008 14:08:42 +0000 Subject: * hppa-linux-tdep.c (hppa_linux_supply_fpregset): Correct iteration. --- gdb/hppa-linux-tdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/hppa-linux-tdep.c') 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; } } -- cgit v1.1