From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30950 invoked by alias); 4 Jan 2007 22:34:45 -0000 Received: (qmail 30938 invoked by uid 22791); 4 Jan 2007 22:34:43 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.231) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 04 Jan 2007 22:34:38 +0000 Received: by wx-out-0506.google.com with SMTP id t13so1362758wxc for ; Thu, 04 Jan 2007 14:34:36 -0800 (PST) Received: by 10.90.115.4 with SMTP id n4mr556727agc.1167950076921; Thu, 04 Jan 2007 14:34:36 -0800 (PST) Received: by 10.90.66.1 with HTTP; Thu, 4 Jan 2007 14:34:36 -0800 (PST) Message-ID: <366c6f340701041434y4d8f7dd9yec045c531e0ca261@mail.gmail.com> Date: Thu, 04 Jan 2007 22:34:00 -0000 From: "Peng Yu" To: "Peng Yu" , gdb@sourceware.org Subject: Re: How to print the return value of template member functions (C++)? In-Reply-To: <20070104220939.GB31120@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <366c6f340701031704i5437d6a9m6c5d3454b9fdce01@mail.gmail.com> <20070104192151.GA20596@nevyn.them.org> <366c6f340701041406x160579b0v2e6c5e284d263a1c@mail.gmail.com> <20070104220939.GB31120@nevyn.them.org> 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-01/txt/msg00077.txt.bz2 On 1/4/07, Daniel Jacobowitz wrote: > On Thu, Jan 04, 2007 at 04:06:34PM -0600, Peng Yu wrote: > > I tried on 6.6 as well. The same error is gotten. Would you please let > > me know what kind of environmental stuffs are relevant so that I > > narrow down the problem? > > It could be related to your platform or your GCC version. > g++-3.4 (GCC) 3.4.4 20050314 (prerelease) (Debian 3.4.3-13sarge1) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The gcc version is shown above. But how to make sure it is because gcc bugs? Shall I use a later version? Thanks, Peng