diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-03-31 12:36:06 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-04-07 16:01:17 +0100 |
commit | dbf5d61bdad9131d31c3410f123db3e296d91dfc (patch) | |
tree | 9ef27c372410bd8981fc7e32f43f0d0fddb63485 /gdb/amd64-linux-tdep.c | |
parent | b5556e33b5cbe101257074c497178df6de293c3e (diff) | |
download | gdb-dbf5d61bdad9131d31c3410f123db3e296d91dfc.zip gdb-dbf5d61bdad9131d31c3410f123db3e296d91dfc.tar.gz gdb-dbf5d61bdad9131d31c3410f123db3e296d91dfc.tar.bz2 |
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.
Diffstat (limited to 'gdb/amd64-linux-tdep.c')
-rw-r--r-- | gdb/amd64-linux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c index 88a24c1..0e5194f 100644 --- a/gdb/amd64-linux-tdep.c +++ b/gdb/amd64-linux-tdep.c @@ -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 |