* alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 27 Apr 2007 20:57:47 +0000 (20:57 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 27 Apr 2007 20:57:47 +0000 (20:57 +0000)
of FPCR register in fpregset.

gdb/ChangeLog
gdb/alpha-linux-tdep.c

index 0587fc3ff0be931679b20acaa5ac461ec5eb5520..3d95b192f2bba52bb53a260b9e84a84a9c7b62fe 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
+       of FPCR register in fpregset.
+
 2007-04-27  Maciej W. Rozycki  <macro@mips.com>
 
        * Makefile.in (gdbtk-wrapper.o): Update dependencies.
index eff393a2bd2baff3f15619d64b5139d8e831daae..4ce4258ec46354efa802fadb227216a0b8bfa9cc 100644 (file)
@@ -175,7 +175,7 @@ alpha_linux_supply_fpregset (const struct regset *regset,
     }
 
   if (regnum == ALPHA_FPCR_REGNUM || regnum == -1)
-    regcache_raw_supply (regcache, ALPHA_FPCR_REGNUM, regs + 32 * 8);
+    regcache_raw_supply (regcache, ALPHA_FPCR_REGNUM, regs + 31 * 8);
 }
 
 static struct regset alpha_linux_gregset =