gdb/x86: Implement ax_pseudo_register_collect hook.
authorMarcin Kościelnicki <koriakin@0x04.net>
Sat, 6 Feb 2016 17:17:07 +0000 (18:17 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Wed, 10 Feb 2016 14:30:31 +0000 (15:30 +0100)
commit62e5fd57bcdfb58eadd08ec430c4dfd742027d8e
treed338b40a312a2b92bd3c98ababb1d0df1ecb2040
parente909d859f5635d66e79fef467da70d6090bfae1b
gdb/x86: Implement ax_pseudo_register_collect hook.

Makes "collect $ymm15" action work.

gdb/ChangeLog:

* amd64-tdep.c (amd64_ax_pseudo_register_collect): New function.
(amd64_init_abi): Fill ax_pseudo_register_collect hook.
* gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove
misleading comment.
(i386_pseudo_register_write): Ditto.
(i386_ax_pseudo_register_collect): New function.
(i386_gdbarch_init): Fill ax_pseudo_register_collect hook.
* i386-tdep.h: Add i386_ax_pseudo_register_collect prototype.
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/i386-tdep.c
gdb/i386-tdep.h