summaryrefslogtreecommitdiff
path: root/gdb/i386-bsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-bsd-nat.c')
-rw-r--r--gdb/i386-bsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-bsd-nat.c b/gdb/i386-bsd-nat.c
index cca46298435..27533666d67 100644
--- a/gdb/i386-bsd-nat.c
+++ b/gdb/i386-bsd-nat.c
@@ -97,7 +97,7 @@ i386bsd_supply_gregset (struct regcache *regcache, const void *gregs)
int offset = i386bsd_r_reg_offset[regnum];
if (offset != -1)
- regcache_raw_supply (regcache, regnum, regs + offset);
+ regcache->raw_supply (regnum, regs + offset);
}
}