[patch] More DWARF-4 support
Cary Coutant
ccoutant@google.com
Fri Aug 28 18:48:00 GMT 2009
Ping...
-cary
On Wed, Aug 19, 2009 at 5:19 PM, Cary Coutant<ccoutant@google.com> wrote:
> This patch adds support to objdump and readelf for most the new
> DWARF-4 features that haven't already been added.
>
> OK?
>
> -cary
>
>
> 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.
>
More information about the Binutils
mailing list