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.
This commit is contained in:
Andrew Burgess
2022-03-31 18:10:34 +01:00
parent c30c0f062e
commit af7ce09b76
9 changed files with 36 additions and 57 deletions

View File

@ -196,8 +196,7 @@ protected:
{
if (gdbarch_register_reggroup_p (m_gdbarch, regnum, group))
{
gdb_printf (file,
"%s%s", sep, reggroup_name (group));
gdb_printf (file, "%s%s", sep, group->name ());
sep = ",";
}
}