mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
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:
@@ -879,15 +879,6 @@ regcache::cooked_write_part (int regnum, int offset, int len,
|
||||
write_part (regnum, offset, len, buf, false);
|
||||
}
|
||||
|
||||
/* Supply register REGNUM, whose contents are stored in BUF, to REGCACHE. */
|
||||
|
||||
void
|
||||
regcache_raw_supply (struct regcache *regcache, int regnum, const void *buf)
|
||||
{
|
||||
gdb_assert (regcache != NULL);
|
||||
regcache->raw_supply (regnum, buf);
|
||||
}
|
||||
|
||||
void
|
||||
detached_regcache::raw_supply (int regnum, const void *buf)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user