aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips64-obsd-nat.c')
-rw-r--r--gdb/mips64-obsd-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips64-obsd-nat.c b/gdb/mips64-obsd-nat.c
index 9c306dda3d1..4627cbe0a9a 100644
--- a/gdb/mips64-obsd-nat.c
+++ b/gdb/mips64-obsd-nat.c
@@ -71,13 +71,13 @@ mips64obsd_collect_gregset (const struct regcache *regcache,
for (i = MIPS_ZERO_REGNUM; i <= MIPS_PC_REGNUM; i++)
{
if (regnum == -1 || regnum == i)
- regcache_raw_collect (regcache, i, regs + i * 8);
+ regcache->raw_collect (i, regs + i * 8);
}
for (i = MIPS_FP0_REGNUM; i <= MIPS_FSR_REGNUM; i++)
{
if (regnum == -1 || regnum == i)
- regcache_raw_collect (regcache, i, regs + (i + 2) * 8);
+ regcache->raw_collect (i, regs + (i + 2) * 8);
}
}