gdb: make gdbarch_register_reggroup_p take a const reggroup *

Change gdbarch_register_reggroup_p to take a 'const struct reggroup *'
argument.  This requires a change to the gdb/gdbarch-components.py
script, regeneration of gdbarch.{c,h}, and then updates to all the
architectures that implement this method.

There should be no user visible changes after this commit.
This commit is contained in:
Andrew Burgess
2022-03-31 12:36:06 +01:00
parent b5556e33b5
commit dbf5d61bda
29 changed files with 33 additions and 33 deletions

View File

@ -9105,7 +9105,7 @@ arm_elf_osabi_sniffer (bfd *abfd)
static int
arm_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
struct reggroup *group)
const struct reggroup *group)
{
/* FPS register's type is INT, but belongs to float_reggroup. Beside
this, FPS register belongs to save_regroup, restore_reggroup, and