mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
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:
@ -73,7 +73,7 @@ lm32_add_reggroups (struct gdbarch *gdbarch)
|
||||
|
||||
static int
|
||||
lm32_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
|
||||
struct reggroup *group)
|
||||
const struct reggroup *group)
|
||||
{
|
||||
if (group == general_reggroup)
|
||||
return ((regnum >= SIM_LM32_R0_REGNUM) && (regnum <= SIM_LM32_RA_REGNUM))
|
||||
|
Reference in New Issue
Block a user