From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3263 invoked by alias); 19 Nov 2007 12:57:33 -0000 Received: (qmail 3254 invoked by uid 22791); 19 Nov 2007 12:57:33 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Nov 2007 12:57:28 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 4B58B98367; Mon, 19 Nov 2007 12:57:26 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D13069833F; Mon, 19 Nov 2007 12:57:25 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Iu6Bn-0006lc-TH; Mon, 19 Nov 2007 07:57:23 -0500 Date: Mon, 19 Nov 2007 12:57:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Eli Zaretskii , Vladimir Prus , gdb@sources.redhat.com Subject: Re: Multiple breakpoint locations Message-ID: <20071119125723.GA25839@caradoc.them.org> Mail-Followup-To: Nick Roberts , Eli Zaretskii , Vladimir Prus , gdb@sources.redhat.com References: <18233.63439.953202.586908@kahikatea.snap.net.nz> <18239.38458.695867.472660@kahikatea.snap.net.nz> <20071118022633.GA16097@caradoc.them.org> <18239.64509.973311.432145@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18239.64509.973311.432145@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00183.txt.bz2 On Sun, Nov 18, 2007 at 09:46:53PM +1300, Nick Roberts wrote: > But Andreas has said that: > > "For function templates the return type is part of the signature" > > and > > "It is valid for function template instantiations to only differ in the > return type." > > which suggests to me that the return type is a necessary part of the name. True, but in most cases it is not necessary to disambiguate. Only in the rare cases where the program contains two instantiations which differ only in return type. -- Daniel Jacobowitz CodeSourcery