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/m32r-linux-nat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/m32r-linux-nat.c') diff --git a/gdb/m32r-linux-nat.c b/gdb/m32r-linux-nat.c index 9d833fa..3c72357 100644 --- a/gdb/m32r-linux-nat.c +++ b/gdb/m32r-linux-nat.c @@ -101,11 +101,11 @@ supply_gregset (struct regcache *regcache, const elf_gregset_t * gregsetp) } if (i != M32R_SP_REGNUM) - regcache_raw_supply (regcache, i, ®val); + regcache->raw_supply (i, ®val); else if (psw & 0x8000) - regcache_raw_supply (regcache, i, regp + SPU_REGMAP); + regcache->raw_supply (i, regp + SPU_REGMAP); else - regcache_raw_supply (regcache, i, regp + SPI_REGMAP); + regcache->raw_supply (i, regp + SPI_REGMAP); } } -- cgit v1.1