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.
This commit is contained in:
Simon Marchi 2018-05-30 14:54:45 -04:00
parent e4c4a59b48
commit 73e1c03f93
88 changed files with 580 additions and 658 deletions

View file

@ -101,11 +101,11 @@ supply_gregset (struct regcache *regcache, const elf_gregset_t * gregsetp)
}
if (i != M32R_SP_REGNUM)
regcache_raw_supply (regcache, i, &regval);
regcache->raw_supply (i, &regval);
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);
}
}