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.
This commit is contained in:
parent
1bca9b1e6b
commit
e7fe101149
10 changed files with 39 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue