mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
Remove regcache_register_status
Remove regcache_register_status, change callers to use reg_buffer::get_register_status directly. gdb/ChangeLog: * regcache.h (regcache_register_status): Remove, update callers to use reg_buffer::get_register_status directly instead. * regcache.c (regcache_register_status): Remove.
This commit is contained in:
@ -704,7 +704,7 @@ core_target::fetch_registers (struct regcache *regcache, int regno)
|
||||
|
||||
/* Mark all registers not found in the core as unavailable. */
|
||||
for (i = 0; i < gdbarch_num_regs (regcache->arch ()); i++)
|
||||
if (regcache_register_status (regcache, i) == REG_UNKNOWN)
|
||||
if (regcache->get_register_status (i) == REG_UNKNOWN)
|
||||
regcache_raw_supply (regcache, i, NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user