mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 00:59:15 +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:
@ -1460,7 +1460,7 @@ Is a register in a group
|
||||
""",
|
||||
type="int",
|
||||
name="register_reggroup_p",
|
||||
params=[("int", "regnum"), ("struct reggroup *", "reggroup")],
|
||||
params=[("int", "regnum"), ("const struct reggroup *", "reggroup")],
|
||||
predefault="default_register_reggroup_p",
|
||||
invalid=False,
|
||||
)
|
||||
|
Reference in New Issue
Block a user