diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-03-31 18:10:34 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-04-07 16:01:18 +0100 |
commit | af7ce09b7685050d2ca1a8a746bb8a8c080fff69 (patch) | |
tree | 7f98b85a0c9b02742561f15e09fb66063b0a439f /gdb/nds32-tdep.c | |
parent | c30c0f062e52b7a827d8571cdafcd04c9e71ab6b (diff) | |
download | gdb-af7ce09b7685050d2ca1a8a746bb8a8c080fff69.zip gdb-af7ce09b7685050d2ca1a8a746bb8a8c080fff69.tar.gz gdb-af7ce09b7685050d2ca1a8a746bb8a8c080fff69.tar.bz2 |
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.
Diffstat (limited to 'gdb/nds32-tdep.c')
-rw-r--r-- | gdb/nds32-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nds32-tdep.c b/gdb/nds32-tdep.c index 06b129b..e95ad7c 100644 --- a/gdb/nds32-tdep.c +++ b/gdb/nds32-tdep.c @@ -390,7 +390,7 @@ nds32_register_reggroup_p (struct gdbarch *gdbarch, int regnum, /* The NDS32 reggroup contains registers whose name is prefixed by reggroup name. */ reg_name = gdbarch_register_name (gdbarch, regnum); - group_name = reggroup_name (reggroup); + group_name = reggroup->name (); return !strncmp (reg_name, group_name, strlen (group_name)); } |