DWARF-5: Fix -fdebug-types-section
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 24 Aug 2017 08:26:52 +0000 (10:26 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 24 Aug 2017 08:26:52 +0000 (10:26 +0200)
commitf1902523c9b7941775a2c64af89de0f111b8924c
treed12cd0d43ea87e3a6a2ac2717885785eef929e8e
parent74081948353b117fcbe870fc3cc9ebe0f18fdcf8
DWARF-5: Fix -fdebug-types-section

GDB was now accessing as signatured_type memory allocated only by size of
dwarf2_per_cu_data.

gdb/ChangeLog
2017-08-24  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwarf2read.c (build_type_psymtabs_reader): New prototype.
(process_psymtab_comp_unit): Accept IS_DEBUG_TYPES.
(read_comp_units_from_section): New parameter abbrev_section, use
read_and_check_comp_unit_head, allocate signatured_type if needed.
(create_all_comp_units): Update read_comp_units_from_section caller.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.024389 seconds and 4 git commands to generate.