Convert gdbtypes.c to type-safe registry API
authorTom Tromey <tom@tromey.com>
Thu, 2 May 2019 22:13:50 +0000 (16:13 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 May 2019 22:01:56 +0000 (16:01 -0600)
commit7a1021395e0ef7a92e1653533b753a2221396015
tree6292896eccc7379a54733424ad4842f910fb2644
parent924d79e23306bb85fd1dd78564f4779fd3aeec56
Convert gdbtypes.c to type-safe registry API

This changes gdbtypes.c to use the type-safe registry API.

gdb/ChangeLog
2019-05-08  Tom Tromey  <tom@tromey.com>

* gdbtypes.c (objfile_type_data): Change type.
(objfile_type, _initialize_gdbtypes): Update.
gdb/ChangeLog
gdb/gdbtypes.c