Change solib-darwin.c to use type-safe registry
authorTom Tromey <tromey@adacore.com>
Wed, 26 Jun 2019 18:44:49 +0000 (12:44 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 10 Jul 2019 18:42:16 +0000 (12:42 -0600)
commit51df2ae3029caafd2b832e19d2978114a7e25a8a
treeffba2a39d76bc682ebf303fd33722802d7a78f24
parent18101a352541a28b8e199b4d7b9f66989681dc02
Change solib-darwin.c to use type-safe registry

This changes solib-darwin.c to use the type-safe registry.

2019-07-10  Tom Tromey  <tromey@adacore.com>

* solib-darwin.c (struct darwin_info): Add initializers.
(solib_darwin_pspace_data): Change type.
(darwin_pspace_data_cleanup): Remove.
(get_darwin_info, _initialize_darwin_solib): Update.
gdb/ChangeLog
gdb/solib-darwin.c