aboutsummaryrefslogtreecommitdiff
path: root/gdb/vaxbsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-05-24 08:13:40 +0000
committerMark Kettenis <kettenis@gnu.org>2004-05-24 08:13:40 +0000
commit5df97fde6194ad4cd24e90c446091b0cfea0145f (patch)
treea2f3e479b0e0f06282a6138abbfaa2efa72e662b /gdb/vaxbsd-nat.c
parent7d7e6bc475090a8356addff3b848dada0135690b (diff)
downloadgdb-5df97fde6194ad4cd24e90c446091b0cfea0145f.zip
gdb-5df97fde6194ad4cd24e90c446091b0cfea0145f.tar.gz
gdb-5df97fde6194ad4cd24e90c446091b0cfea0145f.tar.bz2
* m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
register number in regcache_raw_collect call. (m68kbsd_collect_fpregset): Likewise. * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
Diffstat (limited to 'gdb/vaxbsd-nat.c')
-rw-r--r--gdb/vaxbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/vaxbsd-nat.c b/gdb/vaxbsd-nat.c
index d3516f6..d2757c5 100644
--- a/gdb/vaxbsd-nat.c
+++ b/gdb/vaxbsd-nat.c
@@ -54,7 +54,7 @@ vaxbsd_collect_gregset (const struct regcache *regcache,
for (i = 0; i <= VAX_NUM_REGS; i++)
{
if (regnum == -1 || regnum == i)
- regcache_raw_collect (regcache, regnum, regs + i * 4);
+ regcache_raw_collect (regcache, i, regs + i * 4);
}
}