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] 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  <jan.kratochvil@redhat.com>
> > 
> > 	* 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.

Checked in:
	http://sourceware.org/ml/binutils-cvs/2011-07/msg00141.html


> 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.


Thanks,
Jan


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