Add PPC_MAX_REGISTER_SIZE
authorAlan Hayward <alan.hayward@arm.com>
Mon, 22 May 2017 08:23:22 +0000 (09:23 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Mon, 22 May 2017 08:23:22 +0000 (09:23 +0100)
commit0f068fb5e5b65038c3ded3cfd2a4b8805196956c
tree0db98b7a0f08f79aa800e7b58f7412b25cbc4ca6
parentca49a96781f723d43ec49471cbbb50aa511d063e
Add PPC_MAX_REGISTER_SIZE

gdb/
* ppc-linux-nat.c (fetch_register): Use PPC_MAX_REGISTER_SIZE.
(store_register): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Likewise.
(get_decimal_float_return_value): Likewise.
(do_ppc_sysv_return_value): Likewise.
(ppc64_sysv_abi_push_integer): Likewise.
(ppc64_sysv_abi_push_freg): Likewise.
(ppc64_sysv_abi_return_value_base): Likewise.
(ppc64_sysv_abi_return_value): Likewise.
* rs6000-aix-tdep.c (rs6000_push_dummy_call): Likewise.
* rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call): Likewise.
* rs6000-nat.c: Likewise.
* rs6000-tdep.c (rs6000_register_to_value): Likewise.
(rs6000_value_to_register): Likewise.
* ppc-tdep.h (PPC_MAX_REGISTER_SIZE): Add.
gdb/ChangeLog
gdb/ppc-linux-nat.c
gdb/ppc-sysv-tdep.c
gdb/ppc-tdep.h
gdb/rs6000-aix-tdep.c
gdb/rs6000-lynx178-tdep.c
gdb/rs6000-nat.c
gdb/rs6000-tdep.c