From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12950 invoked by alias); 25 May 2011 19:40:29 -0000 Received: (qmail 12942 invoked by uid 22791); 25 May 2011 19:40:28 -0000 X-SWARE-Spam-Status: No, hits=-6.0 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; Wed, 25 May 2011 19:40:12 +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.14.4/8.14.4) with ESMTP id p4PJeC6D022096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 25 May 2011 15:40:12 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p4PJe9Dt028494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 May 2011 15:40:11 -0400 Message-ID: <4DDD5B19.7010706@redhat.com> Date: Wed, 25 May 2011 19:40:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.38.b3pre.fc13 Lightning/1.0b3pre Thunderbird/3.1.9 MIME-Version: 1.0 To: Jan Kratochvil CC: gdb-patches@sourceware.org Subject: Re: [rfc 2/2] Follow DW_AT_linkage_name for methods [Re: The future of dwarf2_physname] References: <4DD44983.7060406@redhat.com> <20110523131659.GA30344@host1.jankratochvil.net> <20110524212111.GB7747@host1.jankratochvil.net> In-Reply-To: <20110524212111.GB7747@host1.jankratochvil.net> 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: 2011-05/txt/msg00588.txt.bz2 I don't know if you are waiting on me for a reply on this or not, but I thought I would throw out my fractional pennies. On 05/24/2011 02:21 PM, Jan Kratochvil wrote: > Also after a chat with Tom Tromey I no longer use DMGL_RET_POSTFIX. That is > for ELF symbol `long m()' GDB with proposed patch uses `m()' > (and not `m()long'). This is compatible with gdb-7.2 (physname) > template functions. I am relieved to hear this (mis?)feature is staying put. I'm a practical kind of person, and I know I'd really *hate* to have to type "break 'int blah(blah)'" every time. Yuck. As for how to address the (remote?) possibility that we will need a return type, I'd like to offer the idea that we might introduce some sort of qualifier flag, for example, "break blah/int" or "break/int blah" or something along those lines. Of course, this is well beyond the scope of 7.3. Just thought I'd toss this out there, though, as a starting point should this actually become a problem. > Anyway DW_AT_linkage_name following patch with no regressions on > {x86_64,x86_64-m32,i686}-fedora15-linux-gnu is attached. It would need GCC > push of the libiberty/ change. I'll reiterate what I wrote to Tom yesterday, "I'm all for it." Keith