This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] More DWARF-4 support


>> I think that for a GNU extension it would be best for the document to be
>> hosted on a GNU site. ?That way we have some amount of control over the
>> existence and contents of the document.

I've updated the patch so that dwarf2.h now points to the
ThreadSafetyAnnotation wiki page for the thread safety extensions, and
to the just-created DwarfSeparateTypeInfo wiki page for the
DW_AT_odr_signature attribute.

> I tried translating the document into the wiki markup language, but
> gave up (there's too much non-semantic markup, and the wiki doesn't
> seem to take any HTML markup), so it looks like the best solution will
> be to export the doc as HTML and check it in under wwwdocs/htdocs.

I've added the DWARF extensions document as an HTML page at
wwwdocs/htdocs/projects/thread-annotations.html, which I will send as
a separate patch, then I'll update the ThreadSafetyAnnotation wiki
page to point to that page instead of Google Docs.

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.

Attachment: dwarf4-binutils-patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]