From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29224 invoked by alias); 9 Sep 2010 16:11:49 -0000 Received: (qmail 29212 invoked by uid 22791); 9 Sep 2010 16:11:48 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Sep 2010 16:11:01 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DCFF710F2A; Thu, 9 Sep 2010 16:10:58 +0000 (GMT) Received: from caradoc.them.org (pool-173-75-31-51.pitbpa.fios.verizon.net [173.75.31.51]) by nan.false.org (Postfix) with ESMTP id A57A510D3C; Thu, 9 Sep 2010 16:10:58 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.72) (envelope-from ) id 1OtjiC-0005DL-QB; Thu, 09 Sep 2010 12:10:56 -0400 Date: Thu, 09 Sep 2010 16:45:00 -0000 From: Daniel Jacobowitz To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [rfc] Remove "(anonymous class)" dummy name in partial DIEs Message-ID: <20100909161056.GA19645@caradoc.them.org> Mail-Followup-To: Ulrich Weigand , gdb-patches@sourceware.org References: <201009081724.o88HOoTD006483@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201009081724.o88HOoTD006483@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-09/txt/msg00203.txt.bz2 On Wed, Sep 08, 2010 at 07:24:50PM +0200, Ulrich Weigand wrote: > Hello, > > I'm seeing lot of error messages along the lines of "(anonymous class) > is defined only in psymtab" when running "maint check-symtabs" on ARM > when glibc debug info is available. > > This seems to be caused by the fact that partial DIEs corresponding to > anonymous structs or classes get a dummy name of "(anonymous class)" > in fixup_partial_die, while the corresponding DIEs of full symbols > will actually have a NULL name. This discrepancy is detected by the > check-symtabs command ... > > The dummy name "(anonymous class)" was introduced in this patch: > http://sourceware.org/ml/gdb-patches/2004-04/msg00070.html > but I'm not quite sure why this was done. Dan, do you recall? To match the full symbol reader, I think. But I can't find what else used "(anonymous class)"; I may have been confused by "(anonymous namespace)". > Is there any reason I'm missing why this dummy name should be set? I don't think there is, at least not any more. -- Daniel Jacobowitz CodeSourcery