Remove regcache_cooked_read
Remove regcache_cooked_read, update callers to use readable_regcache::cooked_read instead. gdb/ChangeLog: * regcache.h (regcache_cooked_read): Remove, update callers to use readable_regcache::cooked_read instead. * regcache.c (regcache_cooked_read): Remove.
This commit is contained in:
parent
10eaee5f56
commit
dca08e1fe1
31 changed files with 127 additions and 143 deletions
|
@ -2248,7 +2248,7 @@ riscv_return_value (struct gdbarch *gdbarch,
|
|||
regnum = info.argloc[0].loc_data.regno;
|
||||
|
||||
if (readbuf)
|
||||
regcache_cooked_read (regcache, regnum, readbuf);
|
||||
regcache->cooked_read (regnum, readbuf);
|
||||
|
||||
if (writebuf)
|
||||
regcache_cooked_write (regcache, regnum, writebuf);
|
||||
|
@ -2265,7 +2265,7 @@ riscv_return_value (struct gdbarch *gdbarch,
|
|||
if (readbuf)
|
||||
{
|
||||
readbuf += info.argloc[1].c_offset;
|
||||
regcache_cooked_read (regcache, regnum, readbuf);
|
||||
regcache->cooked_read (regnum, readbuf);
|
||||
}
|
||||
|
||||
if (writebuf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue