From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12622 invoked by alias); 22 Mar 2011 18:16:31 -0000 Received: (qmail 12612 invoked by uid 22791); 22 Mar 2011 18:16:29 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Mar 2011 18:16:24 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2MIGN22032713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 22 Mar 2011 14:16:23 -0400 Received: from host1.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p2MIGLOW009707 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Mar 2011 14:16:23 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p2MIGLES022212; Tue, 22 Mar 2011 19:16:21 +0100 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p2MIGKK9022207; Tue, 22 Mar 2011 19:16:20 +0100 Date: Tue, 22 Mar 2011 18:32:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org, Dodji Seketeli Subject: Re: revert+new [patch]: Re: [patch] DWARF-3+ DW_AT_accessibility defaults #2 (GCC PR debug/45124) Message-ID: <20110322181620.GA21984@host1.jankratochvil.net> References: <20110321154428.GA3761@host1.jankratochvil.net> <20110322095904.GA29625@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg01003.txt.bz2 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