This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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] Fix DWARF-3+ DW_AT_accessibility default assumption


On Tue, 25 Jan 2011 20:37:48 +0100, Jan Kratochvil wrote:
> GDB regresses on default compiler option -gdwarf-3 on gcc-4.6+ as this gcc
> started to omit DW_AT_accessibility for the default value case.  Normal
> upstream gcc still has -gdwarf-2 default (Fedora uses -gdwarf-3 default).
[...]
> I will check it in in some time.
[...]
> gdb/
> 2011-01-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Fix DWARF-3+ DW_AT_accessibility default assumption.
> 	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
> 	cu->header.version >= 3.

Checked in.  Dealing with testsuite results on FSF GDB was difficult.
	http://sourceware.org/ml/gdb-cvs/2011-03/msg00115.html


Thanks,
Jan


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