Add common AARCH64 REGNUM defines
authorAlan Hayward <alan.hayward@arm.com>
Wed, 25 Oct 2017 08:06:41 +0000 (09:06 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Wed, 25 Oct 2017 08:06:41 +0000 (09:06 +0100)
commitcc628f3dbb12c720dbc9ab714feeb197dc739944
treedd2d0839d2b45b5a6c8078f72339039cc4f29ad0
parente601d38b7cc222345d4128f45db18529b9fb477b
Add common AARCH64 REGNUM defines

gdb/
* aarch64-tdep.h (enum aarch64_regnum): Remove.
* arch/aarch64.h: New file.

gdbserver/
* linux-aarch64-low.c (aarch64_fill_gregset): Replace defines
with REGNO.
(aarch64_store_gregset): Likewise.
(aarch64_fill_fpregset): Likewise.
(aarch64_store_fpregset): Likewise.
gdb/ChangeLog
gdb/aarch64-tdep.h
gdb/arch/aarch64.h [new file with mode: 0644]
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch64-low.c