From af7ce09b7685050d2ca1a8a746bb8a8c080fff69 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 31 Mar 2022 18:10:34 +0100 Subject: 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/regcache-dump.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/regcache-dump.c') diff --git a/gdb/regcache-dump.c b/gdb/regcache-dump.c index 409a868be76..0c5da0e241d 100644 --- a/gdb/regcache-dump.c +++ b/gdb/regcache-dump.c @@ -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 = ","; } } -- cgit v1.2.1