Convert linux-tdep.c to type-safe registry API
authorTom Tromey <tom@tromey.com>
Sun, 21 Apr 2019 18:43:17 +0000 (12:43 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 May 2019 22:01:49 +0000 (16:01 -0600)
commit89fb8848d7f00cabeb56344762860469238c24e1
treeb8e7b0e217feaab72a3128a88fb0582f4d3625e2
parente9b89e2d01043108283df02261ed718aae705bc8
Convert linux-tdep.c to type-safe registry API

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

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

* linux-tdep.c (struct linux_info): Add initializers.
(linux_inferior_data): Move.  Change type.
(invalidate_linux_cache_inf): Update.
(linux_inferior_data_cleanup): Remove.
(get_linux_inferior_data, _initialize_linux_tdep): Update.
gdb/ChangeLog
gdb/linux-tdep.c