forked from Imagelibrary/binutils-gdb
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user