Add aarch64 pseudo help functions
authorAlan Hayward <alan.hayward@arm.com>
Thu, 26 Apr 2018 13:58:40 +0000 (14:58 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Mon, 4 Jun 2018 13:09:57 +0000 (14:09 +0100)
commit3c5cd5c3b4dcb88da4ff980186b63fa169ba9263
tree50d9ef5abaf1b6590314a8ee73dbfb09de115287
parent59f413d5412217c5c6f9e25d0279a1997426d60a
Add aarch64 pseudo help functions

Reduce code copy/paste by adding two helper functions for
aarch64_pseudo_read_value and aarch64_pseudo_write
Does not change any functionality.

gdb/
* aarch64-tdep.c (aarch64_pseudo_read_value_1): New helper func.
(aarch64_pseudo_write_1): Likewise.
(aarch64_pseudo_read_value): Use helper.
(aarch64_pseudo_write): Likewise.
gdb/ChangeLog
gdb/aarch64-tdep.c