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:
parent
b5556e33b5
commit
dbf5d61bda
29 changed files with 33 additions and 33 deletions
|
@ -54,7 +54,7 @@
|
|||
group. Put the LINUX_ORIG_EAX register in the system group. */
|
||||
static int
|
||||
i386_linux_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
|
||||
struct reggroup *group)
|
||||
const struct reggroup *group)
|
||||
{
|
||||
if (regnum == I386_LINUX_ORIG_EAX_REGNUM)
|
||||
return (group == system_reggroup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue