Convert fbsd-tdep.c to type-safe registry API
authorTom Tromey <tom@tromey.com>
Wed, 1 May 2019 21:05:58 +0000 (15:05 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 May 2019 22:01:52 +0000 (16:01 -0600)
commitd4e05d2fea956e65618fc12c57fb81e8788ef07d
tree6c56f5c0e96846967080d3726c086b662328bd98
parent14ef6690f1f24ad6b2f87bac36607146fbda6ccb
Convert fbsd-tdep.c to type-safe registry API

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

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

* fbsd-tdep.c (struct fbsd_pspace_data): Add initializers.
(fbsd_pspace_data_handle): Move lower.  Change type.
(get_fbsd_pspace_data): Update.
(fbsd_pspace_data_cleanup): Remove.
(_initialize_fbsd_tdep): Update.
gdb/ChangeLog
gdb/fbsd-tdep.c