From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6121 invoked by alias); 3 Aug 2010 17:48:41 -0000 Received: (qmail 6112 invoked by uid 22791); 3 Aug 2010 17:48:40 -0000 X-SWARE-Spam-Status: No, hits=-5.3 required=5.0 tests=AWL,BAYES_00,KAM_STOCKGEN,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, 03 Aug 2010 17:47:54 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o73Hlrms030550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 3 Aug 2010 13:47:53 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o73HlrwF027323 for ; Tue, 3 Aug 2010 13:47:53 -0400 Received: from [10.15.16.129] (dhcp-10-15-16-129.yyz.redhat.com [10.15.16.129]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o73Hlq2W030578 for ; Tue, 3 Aug 2010 13:47:52 -0400 Message-ID: <4C585648.40807@redhat.com> Date: Tue, 03 Aug 2010 17:48:00 -0000 From: sami wagiaalla User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Thunderbird/3.0.5 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Re: [patch] stabs assertion failure symbol_get_demangled_name References: <4C509011.2040207@redhat.com> In-Reply-To: <4C509011.2040207@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-08/txt/msg00013.txt.bz2 > ...there other case, and for > those I changed the assertion into an if statement that returns null > since symbol_natural_name depends on symbol_get_demangled_name to return > null in order to fall back to gsymbol->name. > I looked into this some more. At least of of the other cases occurs when, during symbol construction, the stabs reader uses SYMBOL_SET_LINKAGE_NAME bypassing symbol_set_names. by removing the assertion eventually the name that was set through SYMBOL_SET_LINKAGE_NAME (gsymbol->name) will be returned. The other option is to eliminate the use of SYMBOL_SET_LINKAGE_NAME.