Allow registry to refer to const types
authorTom Tromey <tom@tromey.com>
Wed, 1 Jun 2022 20:52:28 +0000 (14:52 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 4 Aug 2022 19:28:04 +0000 (13:28 -0600)
commit8b1540430107b0752485ab9e6a841dbbacd45681
tree703153a6cfe9eabe03eb195756af03a67cbf1ee2
parentb987c79ac133c303adefad5caff19c530f86b7a4
Allow registry to refer to const types

So far, the registry hasn't been used to refer to a 'const' type, but
this changes with the gdbarch change.  This patch arranges to let the
registry store a pointer-to-const, by removing const in the 'set'
method.
gdb/registry.h