From 73e1c03f93f0294b464dc2b67de1f9aaae84838d Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:45 -0400 Subject: Remove regcache_raw_supply Remove regcache_raw_supply, update callers to use detached_regcache::raw_supply. gdb/ChangeLog: * regcache.h (regcache_raw_supply): Remove, update callers to use detached_regcache::raw_supply. * regcache.c (regcache_raw_supply): Remove. --- gdb/ctf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/ctf.c') diff --git a/gdb/ctf.c b/gdb/ctf.c index 1ab095d..7e22074 100644 --- a/gdb/ctf.c +++ b/gdb/ctf.c @@ -1266,12 +1266,12 @@ ctf_target::fetch_registers (struct regcache *regcache, int regno) { if (regno == regn) { - regcache_raw_supply (regcache, regno, regs + offset); + regcache->raw_supply (regno, regs + offset); break; } else if (regno == -1) { - regcache_raw_supply (regcache, regn, regs + offset); + regcache->raw_supply (regn, regs + offset); } } offset += regsize; -- cgit v1.1