[binutils commit] DWARF-5: Extend bfd/dwarf2.c parse_comp_unit()

H.J. Lu hjl.tools@gmail.com
Wed Jul 5 16:07:00 GMT 2017


On Tue, Jul 4, 2017 at 1:10 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Tue, 04 Jul 2017 06:03:25 +0200, Alan Modra wrote:
>> On Sat, Jul 01, 2017 at 12:57:02PM +0200, Jan Kratochvil wrote:
>> > 2017-07-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
>> >
>> >     * dwarf2.c (struct dwarf2_debug): Add fields dwarf_line_str_buffer and
>> >     dwarf_line_str_size.
>> >     (struct attr_abbrev): Add field implicit_const.
>> >     (dwarf_debug_sections): Add .debug_line_str.
>> >     (enum dwarf_debug_section_enum): Add debug_line_str and debug_max.
>> >     (dwarf_debug_section_assert): Add static assertion.
>> >     (read_indirect_line_string): New.
>> >     (read_abbrevs): Support DW_FORM_implicit_const.
>> >     (is_str_attr): Support DW_FORM_line_strp.
>> >     (read_attribute_value): Support DW_FORM_line_strp and
>> >     DW_FORM_implicit_const.
>> >     (read_attribute): Support DW_FORM_implicit_const.
>> >     (line_info_add_include_dir, line_info_add_include_dir_stub):
>> >     (line_info_add_file_name, read_formatted_entries): New.
>> >     (decode_line_info, parse_comp_unit): Support DWARF 5.
>> >     (_bfd_dwarf2_cleanup_debug_info): Free dwarf_line_str_buffer.
>>
>> OK.
>
> Checked in:
>         0041f7df741692954ebc112c69e5326afb0115ba
>

I checked in this patch for GCC 4.2 build and will backport it
to binutils 2.29.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-build-with-GCC-4.2.patch
Type: text/x-patch
Size: 4837 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20170705/24effcd4/attachment.bin>


More information about the Gdb-patches mailing list