mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +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:
@ -818,7 +818,7 @@ ppc_linux_get_syscall_number (struct gdbarch *gdbarch,
|
||||
/* Getting the system call number from the register.
|
||||
When dealing with PowerPC architecture, this information
|
||||
is stored at 0th register. */
|
||||
regcache_cooked_read (regcache, tdep->ppc_gp0_regnum, buf.data ());
|
||||
regcache->cooked_read (tdep->ppc_gp0_regnum, buf.data ());
|
||||
|
||||
return extract_signed_integer (buf.data (), tdep->wordsize, byte_order);
|
||||
}
|
||||
|
Reference in New Issue
Block a user