gdb: add some const in gdb/reggroups.c
authorAndrew Burgess <aburgess@redhat.com>
Wed, 30 Mar 2022 14:53:42 +0000 (15:53 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 7 Apr 2022 15:01:17 +0000 (16:01 +0100)
commitb5556e33b5cbe101257074c497178df6de293c3e
treece2935f413c1672065dbdba70eb32801735a1393
parent86d77f6a5be904f13c633f10bdf77ff3dd69db94
gdb: add some const in gdb/reggroups.c

This commit makes the 'struct reggroup *' argument const for the
following functions:

  reggroup_next
  reggroup_prev
  reggroup_name
  reggroup_type

There are other places that could benefit from const in the
reggroup.{c,h} files, but these will be changing in further commits.

There should be no user visible changes after this commit.
gdb/reggroups.c
gdb/reggroups.h