This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: revert+new [patch]: Re: [patch] DWARF-3+ DW_AT_accessibility defaults #2 (GCC PR debug/45124)
On Tue, 22 Mar 2011 19:10:35 +0100, Tom Tromey wrote:
> To be clear, this comment is documented what we hope will be true,
> right?
Yes.
> + /* Workaround GCC PR debug/48229 where DW_TAG_type_unit had no
> + DW_AT_producer in G++ 4.5.x. G++ 4.4.any could not produce
> + DWARF-4 (and its DW_TAG_type_unit). G++ 4.6.0 already provides
> + DW_AT_producer for DW_TAG_type_unit. */
>
> ... since the bug is still open and, I guess, 4.6 snapshots don't emit
> this.
If GCC 4.6.0 GA still will not produce DW_AT_producer for DW_TAG_type_unit
there will be no way to distinguish what does DW_TAG_type_unit assume as
a default for DW_AT_accessibility.
Dodji, please GCC PR debug/48229 should really be committed for GCC 4.6.0.
Thanks,
Jan