gdb: have reggroup_find return a const
authorAndrew Burgess <aburgess@redhat.com>
Thu, 31 Mar 2022 15:24:32 +0000 (16:24 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 7 Apr 2022 15:01:18 +0000 (16:01 +0100)
commit2b72890eba0373fee1e5c6f6ac0157782222ef3d
tree10da945ba80938d6303243732eb1109ac9761eeb
parent0ee336595924558bde5486becd83a9e4c40059ed
gdb: have reggroup_find return a const

Update reggroup_find to return a const reggroup *.

There are other function in gdb/reggroup.{c,h} files that could
benefit from returning const, these will be updated in later commits.

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