Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE
authorAlan Hayward <alan.hayward@arm.com>
Fri, 24 Feb 2017 16:09:43 +0000 (16:09 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Fri, 24 Feb 2017 16:09:43 +0000 (16:09 +0000)
commit975c21ab6d2f6e94fcd4723bcaada4015ce7b0cf
tree44987c1537cb7eaa88cf1fc9ca5a7660336e75ff
parent32ec889602502348b704cfb16e65c83dc3eec095
Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE

gdb/
* i386-tdep.c (i386_pseudo_register_read_into_value): Use
I386_MAX_REGISTER_SIZE.
(i386_pseudo_register_write): Likewise.
(i386_process_record): Likewise.
* i387-tdep.c (i387_supply_xsave): Likewise.
* m68k-linux-nat.c (fetch_register): Use M68K_MAX_REGISTER_SIZE.
(store_register): Likewise.
gdb/ChangeLog
gdb/i386-tdep.c
gdb/i387-tdep.c
gdb/m68k-linux-nat.c