From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12352 invoked by alias); 25 May 2011 20:42:08 -0000 Received: (qmail 12343 invoked by uid 22791); 25 May 2011 20:42:07 -0000 X-SWARE-Spam-Status: No, hits=-6.9 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 20:41:54 +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 p4PKfroD019240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 25 May 2011 16:41:53 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4PKfro2001260; Wed, 25 May 2011 16:41:53 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p4PKfqvV030110; Wed, 25 May 2011 16:41:52 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 790563781A6; Wed, 25 May 2011 14:41:52 -0600 (MDT) From: Tom Tromey To: Keith Seitz Cc: Jan Kratochvil , 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> <4DDD5B19.7010706@redhat.com> Date: Wed, 25 May 2011 20:42:00 -0000 In-Reply-To: <4DDD5B19.7010706@redhat.com> (Keith Seitz's message of "Wed, 25 May 2011 12:40:09 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00590.txt.bz2 >>>>> "Keith" == Keith Seitz writes: Keith> As for how to address the (remote?) possibility that we will need a Keith> return type, I'd like to offer the idea that we might introduce some Keith> sort of qualifier flag, for example, "break blah/int" or Keith> "break/int blah" or something along those lines. Of course, this Keith> is well beyond the scope of 7.3. Just thought I'd toss this out there, Keith> though, as a starting point should this actually become a problem. If we are adding linespec syntax, it seems to me we should just recognize the return type as well: 'break int templatefunction()'. This is immediately recognizable to the C++ programmer and preserve the "nm -C cut-and-paste" property as well. Only if this cannot be done for some reason do I think we should consider gdb-specific alternatives. Tom