Convert ada-tasks.c to type-safe registry API
authorTom Tromey <tom@tromey.com>
Wed, 1 May 2019 21:02:27 +0000 (15:02 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 May 2019 22:01:51 +0000 (16:01 -0600)
commit14ef6690f1f24ad6b2f87bac36607146fbda6ccb
treec2ff41daa9597575fc222dac9211515596bd2336
parent814cf43a1f16157fcbe2c662f567d064393a0fcb
Convert ada-tasks.c to type-safe registry API

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

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

* ada-tasks.c (ada_tasks_pspace_data_handle): Change type.
(get_ada_tasks_pspace_data): Update.
(ada_tasks_pspace_data_cleanup): Remove.
(_initialize_tasks): Update.
(ada_tasks_inferior_data_handle): Change type.
(get_ada_tasks_inferior_data): Update.
(ada_tasks_inferior_data_cleanup): Remove.
(struct ada_tasks_pspace_data): Add initializers.
gdb/ChangeLog
gdb/ada-tasks.c