mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 01:45:52 +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:
@ -227,9 +227,9 @@ vax_return_value (struct gdbarch *gdbarch, struct value *function,
|
||||
if (readbuf)
|
||||
{
|
||||
/* Read the contents of R0 and (if necessary) R1. */
|
||||
regcache_cooked_read (regcache, VAX_R0_REGNUM, buf);
|
||||
regcache->cooked_read (VAX_R0_REGNUM, buf);
|
||||
if (len > 4)
|
||||
regcache_cooked_read (regcache, VAX_R1_REGNUM, buf + 4);
|
||||
regcache->cooked_read (VAX_R1_REGNUM, buf + 4);
|
||||
memcpy (readbuf, buf, len);
|
||||
}
|
||||
if (writebuf)
|
||||
|
Reference in New Issue
Block a user