From: Ulrich Weigand Date: Fri, 27 Apr 2007 20:57:47 +0000 (+0000) Subject: * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6afb1f322b78e52c24f6c94ae2c6b7faf0be4853;p=binutils-gdb.git * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location of FPCR register in fpregset. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0587fc3ff0b..3d95b192f2b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-04-27 Ulrich Weigand + + * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location + of FPCR register in fpregset. + 2007-04-27 Maciej W. Rozycki * Makefile.in (gdbtk-wrapper.o): Update dependencies. diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c index eff393a2bd2..4ce4258ec46 100644 --- a/gdb/alpha-linux-tdep.c +++ b/gdb/alpha-linux-tdep.c @@ -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 =