From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19327 invoked by alias); 2 Jun 2011 18:28:34 -0000 Received: (qmail 19317 invoked by uid 22791); 2 Jun 2011 18:28:33 -0000 X-SWARE-Spam-Status: No, hits=-6.4 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; Thu, 02 Jun 2011 18:28:15 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p52ISFIL024497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 2 Jun 2011 14:28:15 -0400 Received: from host1.jankratochvil.net (ovpn-113-38.phx2.redhat.com [10.3.113.38]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p52ISDjk013207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Jun 2011 14:28:14 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p52ISC9o027108; Thu, 2 Jun 2011 20:28:12 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p52ISCTH027107; Thu, 2 Jun 2011 20:28:12 +0200 Date: Thu, 02 Jun 2011 18:28:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: Keith Seitz , gdb-patches@sourceware.org Subject: Re: [rfc 2/2] Follow DW_AT_linkage_name for methods [Re: The future of dwarf2_physname] Message-ID: <20110602182812.GA25690@host1.jankratochvil.net> References: <4DD44983.7060406@redhat.com> <20110523131659.GA30344@host1.jankratochvil.net> <20110524212111.GB7747@host1.jankratochvil.net> <4DE68663.7070408@redhat.com> <20110602162533.GB28038@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-06/txt/msg00032.txt.bz2 On Thu, 02 Jun 2011 20:20:01 +0200, Tom Tromey wrote: > >>>>> "Jan" == Jan Kratochvil writes: > > Jan> This is a regression by the physname patch which introduced > Jan> DMGL_VERBOSE in symbol_find_demangled_name, some other patches of > Jan> mine being posted are going to remove DMGL_VERBOSE there. > > I infer this to mean that, with your DW_AT_linkage_name patch, we do not > need Keith's series for 7.3. Is that correct? For ctors/dtors (and for non-GCC compilers) DW_AT_linkage_name does not exist and it falls back to the physname code. Some other former code dealing with ctors/dtors in symtabs before physname code was introduced has been already removed as obsoleted by physname. Therefore I believe any physname improvements still have effect for ctors/dtors handling. Thanks, Jan