gdb: more 'const' in gdb/reggroups.{c,h}
authorAndrew Burgess <aburgess@redhat.com>
Thu, 31 Mar 2022 15:32:50 +0000 (16:32 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 7 Apr 2022 15:01:18 +0000 (16:01 +0100)
commite7fe10114995aee4d7012f287e5b8fee74c60fd8
treee30f89ec5f814ca00e0f164a7ac19dd1e1647d0b
parent1bca9b1e6be9cb45684f38dba0d4d323447a653a
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.
gdb/csky-tdep.c
gdb/i386-tdep.c
gdb/m32c-tdep.c
gdb/m68hc11-tdep.c
gdb/mep-tdep.c
gdb/nds32-tdep.c
gdb/reggroups.c
gdb/reggroups.h
gdb/riscv-tdep.c
gdb/xtensa-tdep.c