From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12310 invoked by alias); 21 Aug 2007 12:04:56 -0000 Received: (qmail 12062 invoked by uid 22791); 21 Aug 2007 12:04:46 -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; Tue, 21 Aug 2007 12:04:41 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 16FE0980C1; Tue, 21 Aug 2007 12:04:41 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id E3FFA980C0; Tue, 21 Aug 2007 12:04:40 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1INSTO-0005e8-F3; Tue, 21 Aug 2007 08:04:38 -0400 Date: Tue, 21 Aug 2007 12:04:00 -0000 From: Daniel Jacobowitz To: Andrew STUBBS Cc: GDB List Subject: Re: info functions bug? Message-ID: <20070821120438.GA21690@caradoc.them.org> Mail-Followup-To: Andrew STUBBS , GDB List References: <46CACD29.9060705@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46CACD29.9060705@st.com> 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-08/txt/msg00149.txt.bz2 On Tue, Aug 21, 2007 at 12:31:53PM +0100, Andrew STUBBS wrote: > Hi, > > There seems to be a problem with 'info functions'. It prints the return type of > template functions twice. Yes, this is a known problem with handling of template functions. It's related to all the things we were talking about yesterday. It comes from the demangled name differences: template mangled names include the return type, non-template C++ mangled names do not. My patches (rather bit-rotten now I'm afraid) to avoid relying on mangled names improved the situation a bit. I don't think there's an easier way though :-( -- Daniel Jacobowitz CodeSourcery