[patch] More DWARF-4 support

Cary Coutant ccoutant@google.com
Thu Sep 24 21:21:00 GMT 2009


>> include/
>>
>>        * dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
>>        New tags.
>>        (DW_FORM_ref_sig8): New name for DW_FORM_sig8.
>>        (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
>>        DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
>>        DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
>>        DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
>>        DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
>>        attributes.
>>        (DW_LANG_Python): New language.
>>
>> binutils/
>>
>>        * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
>>        (get_FORM_name): Add new DWARF-4 forms.
>>        (read_and_display_attr_value): Add DW_FORM_ref_sig8,
>> DW_LANG_Python.
>>        (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
>>        (process_debug_info): Add do_types parameter; change all callers.
>>        Add support for .debug_types sections.
>>        (display_debug_types): New function.
>>        (debug_displays): Add .debug_types section.
>>        * readelf.c (process_section_headers): Add .debug_types section.
>>        (display_debug_section): Simplify call to streq.
>>
>
> Approved - please apply.

What's the process for keeping include/dwarf2.h in sync with the gcc
tree? Does that happen automatically now, or should I send a patch to
gcc-patches as well?

-cary



More information about the Binutils mailing list