forked from Imagelibrary/binutils-gdb
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:
@@ -279,7 +279,7 @@ static int amd64_linux_sc_reg_offset[] =
|
||||
|
||||
static int
|
||||
amd64_linux_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
|
||||
struct reggroup *group)
|
||||
const struct reggroup *group)
|
||||
{
|
||||
if (regnum == AMD64_LINUX_ORIG_RAX_REGNUM
|
||||
|| regnum == AMD64_FSBASE_REGNUM
|
||||
|
||||
Reference in New Issue
Block a user