From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14552 invoked by alias); 16 Nov 2006 01:09:56 -0000 Received: (qmail 14544 invoked by uid 22791); 16 Nov 2006 01:09:56 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.185) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Nov 2006 01:09:51 +0000 Received: by nf-out-0910.google.com with SMTP id p77so938146nfc for ; Wed, 15 Nov 2006 17:09:49 -0800 (PST) Received: by 10.49.41.12 with SMTP id t12mr1776570nfj.1163639389253; Wed, 15 Nov 2006 17:09:49 -0800 (PST) Received: by 10.49.61.8 with HTTP; Wed, 15 Nov 2006 17:09:49 -0800 (PST) Message-ID: <366c6f340611151709l33fa8bbcid5a7b0dc94296076@mail.gmail.com> Date: Thu, 16 Nov 2006 01:09:00 -0000 From: "Peng Yu" Subject: Re: How to print the return value of a template member function Cc: gdb@sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <366c6f340611151453s4c938231pc8cc9096a6f1d9b1@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00111.txt.bz2 On 11/15/06, Andreas Schwab wrote: > "Peng Yu" writes: > > > I have the following program listed below this email. I want to > > inspect 'a.get<0>()' from gdb. But I got the following error message. > > Can you show me what the right way should be? > > Works for me with gdb 6.5. > > Andreas. Hi Andreas, I don't see version 6.5. Would you please let me know where to get it? http://www.gnu.org/software/gdb/ Thanks, Peng