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:
parent
222312d359
commit
0ec9f11447
12 changed files with 58 additions and 72 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue