* gdbarch.sh (value_from_register): New gdbarch function.
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 8 Jan 2007 20:03:49 +0000 (20:03 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Mon, 8 Jan 2007 20:03:49 +0000 (20:03 +0000)
commit9acbedc0c0f0d09cddb633a090ceec409f57f87a
tree5374a34791fbfe73e37c2591740ee9ed59f42c93
parentf822c95b5924efa87dbb0cfff0a9ec8039a8c175
* gdbarch.sh (value_from_register): New gdbarch function.
* gdbarch.c, gdbarch.h: Regenerate.
* findvar.c (default_value_from_register): New function.
(value_from_register): Use gdbarch_value_from_register.
* value.h (default_value_from_register): Declare.
* spu-tdep.c (spu_convert_register_p, spu_register_to_value,
spu_value_to_register): Remove.
(spu_value_from_register): New function.
(spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
set_gdbarch_register_to_value, set_gdbarch_value_to_register.
Call set_gdbarch_value_from_register.
* s390-tdep.c (s390_convert_register_p, s390_register_to_value,
s390_value_to_register): Remove.
(s390_value_from_register): New function.
(s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
set_gdbarch_register_to_value, set_gdbarch_value_to_register.
Call set_gdbarch_value_from_register.
gdb/ChangeLog
gdb/findvar.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/s390-tdep.c
gdb/spu-tdep.c
gdb/value.h