mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +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:
@ -725,7 +725,7 @@ tic6x_extract_return_value (struct type *valtype, struct regcache *regcache,
|
||||
regcache_cooked_read_part (regcache, TIC6X_A4_REGNUM, 4 - len, len,
|
||||
valbuf);
|
||||
else
|
||||
regcache_cooked_read (regcache, TIC6X_A4_REGNUM, valbuf);
|
||||
regcache->cooked_read (TIC6X_A4_REGNUM, valbuf);
|
||||
}
|
||||
else if (len <= 8)
|
||||
{
|
||||
@ -736,13 +736,13 @@ tic6x_extract_return_value (struct type *valtype, struct regcache *regcache,
|
||||
lower (even) register. */
|
||||
if (byte_order == BFD_ENDIAN_BIG)
|
||||
{
|
||||
regcache_cooked_read (regcache, TIC6X_A4_REGNUM, valbuf + 4);
|
||||
regcache_cooked_read (regcache, TIC6X_A5_REGNUM, valbuf);
|
||||
regcache->cooked_read (TIC6X_A4_REGNUM, valbuf + 4);
|
||||
regcache->cooked_read (TIC6X_A5_REGNUM, valbuf);
|
||||
}
|
||||
else
|
||||
{
|
||||
regcache_cooked_read (regcache, TIC6X_A4_REGNUM, valbuf);
|
||||
regcache_cooked_read (regcache, TIC6X_A5_REGNUM, valbuf + 4);
|
||||
regcache->cooked_read (TIC6X_A4_REGNUM, valbuf);
|
||||
regcache->cooked_read (TIC6X_A5_REGNUM, valbuf + 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user