]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/nto-tdep.c
Convert nto-tdep.c to type-safe registry API
authorTom Tromey <tom@tromey.com>
Wed, 1 May 2019 21:21:36 +0000 (15:21 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 May 2019 22:01:53 +0000 (16:01 -0600)
commitbdb3ed9e634d3db8164d90dee12bc8b5e2458786
treed1b744dd2e3842c92217e6398861e451490988aa
parentf37b313d5cafbed4e724db4724d1ab567b373be4
Convert nto-tdep.c to type-safe registry API

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

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

* nto-tdep.c (nto_inferior_data_reg): Change type.
(nto_inferior_data): Update.
(nto_inferior_data_cleanup, nto_new_inferior_data)
(_initialize_nto_tdep): Remove.
* nto-tdep.h (struct nto_inferior_data): Add initializers.
gdb/ChangeLog
gdb/nto-tdep.c
gdb/nto-tdep.h