This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: add DWARF-4 features
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 19 Apr 2010 10:45:18 -0400
- Subject: Re: RFC: add DWARF-4 features
- References: <m38w8rayhr.fsf@fleche.redhat.com>
> 2010-04-13 Tom Tromey <tromey@redhat.com>
>
> * dwarf2-frame.c (decode_frame_entry_1): Handle CIE version 4.
> (struct dwarf2_cie) <segment_size>: New field.
> * dwarf2read.c (partial_read_comp_unit_head): Accept DWARF 4.
> (skip_one_die): Handle DW_FORM_flag_present, DW_FORM_sec_offset,
> DW_FORM_exprloc.
> (read_attribute_value): Handle DW_FORM_flag_present,
> DW_FORM_sec_offset, DW_FORM_exprloc.
> (dump_die_shallow): Likewise.
> (attr_form_is_section_offset): Handle DW_FORM_sec_offset.
> (dwarf2_const_value): Handle DW_FORM_exprloc.
> (attr_form_is_block): Likewise.
> (struct line_header) <maximum_ops_per_instruction>: New field.
> (dwarf_decode_line_header): Set new field.
> (dwarf_decode_lines): Handle new field.
I won't pretend that I looked at this patch very carefully, but what
I looked it seemed to make sense to me. FWIW...
--
Joel