diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2017-08-24 10:26:52 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2017-08-24 10:26:52 +0200 |
commit | f1902523c9b7941775a2c64af89de0f111b8924c (patch) | |
tree | d12cd0d43ea87e3a6a2ac2717885785eef929e8e /ld/ldlang.c | |
parent | 74081948353b117fcbe870fc3cc9ebe0f18fdcf8 (diff) | |
download | gdb-f1902523c9b7941775a2c64af89de0f111b8924c.zip gdb-f1902523c9b7941775a2c64af89de0f111b8924c.tar.gz gdb-f1902523c9b7941775a2c64af89de0f111b8924c.tar.bz2 |
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.
Diffstat (limited to 'ld/ldlang.c')
0 files changed, 0 insertions, 0 deletions