regbuf
regbuf
regbuf
regbuf
regbuf
regbuf
* regbuf.c (regbuf_descr): gdbarch_data() now takes a gdbarch
parameter.
* regbuf.c (regbuf_descr): gdbarch_data() now takes a gdbarch
parameter.
regbuf->regcache
regbuf->regcache
regbuf->regcache
regbuf->regcache
regbuf->regcache
regbuf->regcache
introduce regcache_move.
Fix cases where normal vs no_passthroug copies didn't reflect the old code.
introduce regcache_move.
Fix cases where normal vs no_passthroug copies didn't reflect the old code.
introduce regcache_move.
Fix cases where normal vs no_passthroug copies didn't reflect the old code.
introduce regcache_move.
Fix cases where normal vs no_passthroug copies didn't reflect the old code.
regcache_move()
* regcache.c (register_buffer): Add regcache parameter.  Update
callers.
(struct regcache_descr): Add nr_raw_registers and
max_register_size.  Add legacy_p.  Change registers to
raw_registers, register_valid_p to raw_register_valid_p.  Update
all callers.
(legacy_regcache_descr): New function handle legacy case.
(regcache_descr): Use legacy function.  For non-legacy case,
restrict the register cache to just NUM_REGS.
(regcache_read, regcache_write): When non-legacy case, implement
regcache read and write directly.
(regcache_write): Use regcache_valid_p.

* regcache.h (deprecated_grub_regcache_for_registers): Rename
grub_around_regcache_for_registers
(deprecated_grub_regcache_for_register_valid): Rename
grub_around_regcache_for_register_valid.
* regcache.c (deprecated_grub_around_regcache_for_registers)
(deprecated_grub_regcache_for_register_valid): Rename.
* rs6000-tdep.c (rs6000_extract_return_value): Update.
* regcache.c (build_regcache): Update.