Code cleanup: Split create_debug_types_hash_table
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 20 Feb 2017 19:53:19 +0000 (20:53 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 20 Feb 2017 19:53:19 +0000 (20:53 +0100)
commit78d4d2c538dd7975f0f130b2df842c4858c01fd3
tree8850d00da66a6ea5d63bccb14664961d9c5848e4
parent43a444f9c5bfd44b4304eafd78338e21d54bea14
Code cleanup: Split create_debug_types_hash_table

DWARF-5 moved .debug_types into .debug_info and so the types reading code needs
to be reused more (in a future patch).

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwarf2read.c (create_debug_type_hash_table): New function from
create_debug_types_hash_table.
(create_debug_types_hash_table): Call create_debug_type_hash_table.
(create_all_type_units, open_and_init_dwo_file): Update
create_debug_types_hash_table callers.
gdb/ChangeLog
gdb/dwarf2read.c