* hppa-linux-tdep.c (hppa_linux_supply_fpregset): Correct iteration.
authorDave Anglin <dave.anglin@nrc.ca>
Sun, 14 Sep 2008 14:08:42 +0000 (14:08 +0000)
committerDave Anglin <dave.anglin@nrc.ca>
Sun, 14 Sep 2008 14:08:42 +0000 (14:08 +0000)
gdb/ChangeLog
gdb/hppa-linux-tdep.c

index 865b52393f374a770d250546961b1eddfd962777..06f4e877d864a6202f6c0a34565212dbb7664fa4 100644 (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.
index a5dc536ec69f5296ff2ee9e48c6c2557f37eeac3..2cc591c0f8951006b150cf07bf8ed75b43e99e52 100644 (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;
     }
 }
 
This page took 0.028261 seconds and 4 git commands to generate.