Use register_size () instead of MAX_REGISTER_SIZE
authorAlan Hayward <alan.hayward@arm.com>
Wed, 18 Jan 2017 11:23:02 +0000 (11:23 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Wed, 18 Jan 2017 15:17:55 +0000 (15:17 +0000)
commit9890e4338dcabf4512b4856b09511f25c81d10f1
treebf6c53ea43b607a808dd4266f5f84f0c50183a05
parent2cedb9ebf8254a23d1fbd4f76a85e5f08dc3aaf5
Use register_size () instead of MAX_REGISTER_SIZE

2017-01-18  Alan Hayward  <alan.hayward@arm.com>

* amd64-tdep.c (amd64_pseudo_register_read_value): remove
MAX_REGISTER_SIZE.
(amd64_pseudo_register_read_value): Likewise.
* remote.c (fetch_register_using_p): Remove MAX_REGISTER_SIZE.
(store_register_using_P): Likewise.
* regcache.c (regcache_xfer_part): Likewise.
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/regcache.c
gdb/remote.c