mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Remove regcache_cooked_read_part
Remove regcache_cooked_read_part, update callers to use readable_regcache::cooked_read_part. gdb/ChangeLog: * regcache.h (regcache_cooked_read_part): Remove, update callers to use readable_regcache::cooked_read_part. * regcache.c (regcache_cooked_read_part): Remove.
This commit is contained in:
@ -1983,8 +1983,7 @@ s390_register_return_value (struct gdbarch *gdbarch, struct type *type,
|
||||
regcache_cooked_write_part (regcache, S390_F0_REGNUM,
|
||||
0, length, in);
|
||||
else
|
||||
regcache_cooked_read_part (regcache, S390_F0_REGNUM,
|
||||
0, length, out);
|
||||
regcache->cooked_read_part (S390_F0_REGNUM, 0, length, out);
|
||||
}
|
||||
else if (code == TYPE_CODE_ARRAY)
|
||||
{
|
||||
@ -1993,15 +1992,14 @@ s390_register_return_value (struct gdbarch *gdbarch, struct type *type,
|
||||
regcache_cooked_write_part (regcache, S390_V24_REGNUM,
|
||||
0, length, in);
|
||||
else
|
||||
regcache_cooked_read_part (regcache, S390_V24_REGNUM,
|
||||
0, length, out);
|
||||
regcache->cooked_read_part (S390_V24_REGNUM, 0, length, out);
|
||||
}
|
||||
else if (length <= word_size)
|
||||
{
|
||||
/* Integer: zero- or sign-extended in r2. */
|
||||
if (out != NULL)
|
||||
regcache_cooked_read_part (regcache, S390_R2_REGNUM,
|
||||
word_size - length, length, out);
|
||||
regcache->cooked_read_part (S390_R2_REGNUM, word_size - length, length,
|
||||
out);
|
||||
else if (TYPE_UNSIGNED (type))
|
||||
regcache_cooked_write_unsigned
|
||||
(regcache, S390_R2_REGNUM,
|
||||
|
Reference in New Issue
Block a user