AArch64: Add default reggroups
authorAlan Hayward <alan.hayward@arm.com>
Wed, 20 Feb 2019 11:56:23 +0000 (11:56 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Wed, 20 Feb 2019 11:56:23 +0000 (11:56 +0000)
commit0ef8a082c32f34827479f2df8fbd431e08acd2d8
tree43db042231e915026d01907215457223773beb1f
parenteed62915fd5b733632af343fbf3d47c7364f8e36
AArch64: Add default reggroups

AArch64 does not define any reggroups.  This causes "maintenance print
reggroups" to dump the default set (which is ok).

However, if a new group is added via an xml file, then this now becomes
the only group.

Fixes gdb.xml/tdesc-regs.exp on AArch64.

gdb/ChangeLog:

* aarch64-tdep.c (aarch64_add_reggroups): New function
(aarch64_gdbarch_init): Call aarch64_add_reggroups.
gdb/ChangeLog
gdb/aarch64-tdep.c