mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
* 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.
This commit is contained in:
parent
7d7e6bc475
commit
5df97fde61
@ -1,5 +1,10 @@
|
||||
2004-05-24 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* 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.
|
||||
|
||||
* regset.h (struct regset): Add back `regset' member.
|
||||
|
||||
2004-05-23 Mark Kettenis <kettenis@gnu.org>
|
||||
|
@ -80,7 +80,7 @@ m68kbsd_collect_gregset (const struct regcache *regcache,
|
||||
for (i = M68K_D0_REGNUM; i <= M68K_PC_REGNUM; i++)
|
||||
{
|
||||
if (regnum == -1 || regnum == i)
|
||||
regcache_raw_collect (regcache, regnum, regs + i * 4);
|
||||
regcache_raw_collect (regcache, i, regs + i * 4);
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,8 +97,7 @@ m68kbsd_collect_fpregset (struct regcache *regcache,
|
||||
for (i = M68K_FP0_REGNUM; i <= M68K_FPI_REGNUM; i++)
|
||||
{
|
||||
if (regnum == -1 || regnum == i)
|
||||
regcache_raw_collect (regcache, regnum,
|
||||
regs + m68kbsd_fpreg_offset (i));
|
||||
regcache_raw_collect (regcache, i, regs + m68kbsd_fpreg_offset (i));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user