gdb: convert reggroups to use a std::vector
authorAndrew Burgess <aburgess@redhat.com>
Thu, 31 Mar 2022 10:15:04 +0000 (11:15 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 7 Apr 2022 15:01:18 +0000 (16:01 +0100)
commitb89f77be528605fb1781bdd481c3ba1b9d6afab7
tree6519dfc5836fe4c0800dd04faa61cb42c1c1d634
parente7d69e72bfd16113a6bbbebfb8a92126245a4106
gdb: convert reggroups to use a std::vector

Replace manual linked list with a std::vector.  This commit doesn't
change the reggroup_next and reggroup_prev API, but that will change
in a later commit.

This commit is focused on the minimal changes needed to manage the
reggroups using a std::vector, without changing the API exposed by the
reggroup.c file.

There should be no user visible changes after this commit.
gdb/reggroups.c