gdb: move struct reggroup into reggroups.h header
authorAndrew Burgess <aburgess@redhat.com>
Thu, 31 Mar 2022 17:10:34 +0000 (18:10 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 7 Apr 2022 15:01:18 +0000 (16:01 +0100)
commitaf7ce09b7685050d2ca1a8a746bb8a8c080fff69
tree7f98b85a0c9b02742561f15e09fb66063b0a439f
parentc30c0f062e52b7a827d8571cdafcd04c9e71ab6b
gdb: move struct reggroup into reggroups.h header

Move 'struct reggroup' into the reggroups.h header.  Remove the
reggroup_name and reggroup_type accessor functions, and just use the
name/type member functions within 'struct reggroup', update all uses
of these removed functions.

There should be no user visible changes after this commit.
gdb/completer.c
gdb/infcmd.c
gdb/nds32-tdep.c
gdb/python/py-registers.c
gdb/regcache-dump.c
gdb/reggroups.c
gdb/reggroups.h
gdb/target-descriptions.c
gdb/tui/tui-regs.c