aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-linux-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-04-27 20:57:47 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-04-27 20:57:47 +0000
commit6afb1f322b78e52c24f6c94ae2c6b7faf0be4853 (patch)
tree8650cd8bb191af22bb7a62fcabfbc1da50bc25d2 /gdb/alpha-linux-tdep.c
parent951474417ee6263bc2c11bba2cd753bd4380a50b (diff)
downloadgdb-6afb1f322b78e52c24f6c94ae2c6b7faf0be4853.zip
gdb-6afb1f322b78e52c24f6c94ae2c6b7faf0be4853.tar.gz
gdb-6afb1f322b78e52c24f6c94ae2c6b7faf0be4853.tar.bz2
* alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
of FPCR register in fpregset.
Diffstat (limited to 'gdb/alpha-linux-tdep.c')
-rw-r--r--gdb/alpha-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c
index eff393a..4ce4258 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 =