* gdbarch.sh: Remove deprecated_register_byte.
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 28 Apr 2007 21:52:38 +0000 (21:52 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sat, 28 Apr 2007 21:52:38 +0000 (21:52 +0000)
commit6ed7ea50e87eddecb4c6774de0c0fc0f9c503552
tree71101c046ab227bc0b35313084317109e6cbdbe8
parentefc72ef5c00fc2d069b8d5cca7906c8004eca819
* gdbarch.sh: Remove deprecated_register_byte.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.h (generic_register_size, generic_register_byte): Remove.
* arch-utils.c (generic_register_size, generic_register_byte): Remove.

* regcache.h (regcache_valid_p): Make REGCACHE parameter const.
* regcache.c (regcache_valid_p): Allow to query cooked registers in
read-only register caches.  Make REGCACHE parameter const.
(regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.

* mi/mi-main.c (old_regs): Remove.
(mi_setup_architecture_data, _initialize_mi_main): Remove.
(register_changed_p): Reimplement to compare two register caches.
(mi_cmd_data_list_changed_registers): Update caller.
* mi/mi-main.h (mi_setup_architecture_data): Remove.
* mi/mi-interp.c (mi_interpreter_init): Do not call
mi_setup_architecture_data.
gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/mi/mi-main.h
gdb/regcache.c
gdb/regcache.h