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:
Andrew Burgess
2022-03-31 16:32:50 +01:00
parent 1bca9b1e6b
commit e7fe101149
10 changed files with 39 additions and 38 deletions

View File

@ -35,7 +35,7 @@
/* The m32c tdep structure. */
static struct reggroup *m32c_dma_reggroup;
static const reggroup *m32c_dma_reggroup;
/* The type of a function that moves the value of REG between CACHE or
BUF --- in either direction. */