Change arm-tdep.c to use type-safe registry
authorTom Tromey <tromey@adacore.com>
Tue, 2 Jul 2019 19:45:28 +0000 (13:45 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 10 Jul 2019 20:34:11 +0000 (14:34 -0600)
commit7a5d944b9e86bf73ae5acaa984df24d175b80f68
treed8ac651b38edbf047c7eb1b9519b1a1fb46efe46
parent48c66e1d07d65a76c685d10003d751ef883b1244
Change arm-tdep.c to use type-safe registry

This changes arm-tdep.c to use the type-safe registry, removing a use
of VEC in the process.

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

* arm-tdep.c (arm_exidx_entry_s): Remove typedef.  Don't define
VEC.
(struct arm_exidx_entry): New method operator<.
(struct arm_exidx_data) <section_maps>: Change type.
(arm_exidx_data_free): Remove.
(arm_exidx_data_key): Change type.  Move lower.
(arm_exidx_new_objfile): Update.
(arm_compare_exidx_entries): Remove.
(arm_find_exidx_entry, _initialize_arm_tdep)
gdb/ChangeLog
gdb/arm-tdep.c