This is the mail archive of the
mailing list for the binutils project.
Re: [patch] dwarf display: false (location list) in DWARF-4
On Wed, 27 Jul 2011 18:28:54 +0200, Jakub Jelinek wrote:
> On Wed, Jul 27, 2011 at 12:06:05PM +0200, Jan Kratochvil wrote:
> > 2011-07-27 Jan Kratochvil <firstname.lastname@example.org>
> > * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and
> > DW_FORM_data8 as location list pointers only for DWARF < 4.
> Ok for trunk.
> This BTW shows a gcc bug for -gdwarf-3 - the DWARF3 standard
> explicitly disallows DW_FORM_data4 and DW_FORM_data8 from constant class if
> the attribute has also some *ptr class (from the DWARF3 list it seems that
> only DW_AT_data_member_location is affected.
OK, true. GDB (handle_data_member_location, Tom Tromey) parses it in a GCC
compatible way FYI, always preferring the constant class.