Convert coffread.c to type-safe registry API
authorTom Tromey <tom@tromey.com>
Wed, 1 May 2019 21:09:25 +0000 (15:09 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 May 2019 22:01:52 +0000 (16:01 -0600)
commit246994051b6659bf9f4c89b5d5ede86717c5bbef
tree9fdeeed3a25382470c5dadb0cf30efa942ea001c
parentd4e05d2fea956e65618fc12c57fb81e8788ef07d
Convert coffread.c to type-safe registry API

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

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

* coffread.c (struct coff_symfile_info): Add initializers.
(coff_objfile_data_key): Move lower.  Change type.
(coff_symfile_init, coff_symfile_read, _initialize_coffread):
Update.
(coff_free_info): Remove.
gdb/ChangeLog
gdb/coffread.c