mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 05:12:28 +08:00
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:
@ -1165,7 +1165,7 @@ hppa32_return_value (struct gdbarch *gdbarch, struct value *function,
|
||||
for (b = part; b < TYPE_LENGTH (type); b += 4)
|
||||
{
|
||||
if (readbuf != NULL)
|
||||
regcache_cooked_read (regcache, reg, readbuf + b);
|
||||
regcache->cooked_read (reg, readbuf + b);
|
||||
if (writebuf != NULL)
|
||||
regcache_cooked_write (regcache, reg, writebuf + b);
|
||||
reg++;
|
||||
|
Reference in New Issue
Block a user