diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-03-31 16:32:50 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-04-07 16:01:18 +0100 |
commit | e7fe10114995aee4d7012f287e5b8fee74c60fd8 (patch) | |
tree | e30f89ec5f814ca00e0f164a7ac19dd1e1647d0b /gdb/mep-tdep.c | |
parent | 1bca9b1e6be9cb45684f38dba0d4d323447a653a (diff) | |
download | gdb-e7fe10114995aee4d7012f287e5b8fee74c60fd8.zip gdb-e7fe10114995aee4d7012f287e5b8fee74c60fd8.tar.gz gdb-e7fe10114995aee4d7012f287e5b8fee74c60fd8.tar.bz2 |
gdb: more 'const' in gdb/reggroups.{c,h}
Convert the reggroup_new and reggroup_gdbarch_new functions to return
a 'const regggroup *', and fix up all the fallout.
There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/mep-tdep.c')
-rw-r--r-- | gdb/mep-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c index 1ab01c6..6b3a623 100644 --- a/gdb/mep-tdep.c +++ b/gdb/mep-tdep.c @@ -1021,9 +1021,9 @@ mep_register_name (struct gdbarch *gdbarch, int regnr) /* Custom register groups for the MeP. */ -static struct reggroup *mep_csr_reggroup; /* control/special */ -static struct reggroup *mep_cr_reggroup; /* coprocessor general-purpose */ -static struct reggroup *mep_ccr_reggroup; /* coprocessor control */ +static const reggroup *mep_csr_reggroup; /* control/special */ +static const reggroup *mep_cr_reggroup; /* coprocessor general-purpose */ +static const reggroup *mep_ccr_reggroup; /* coprocessor control */ static int |