From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14616 invoked by alias); 18 Jun 2007 13:06:24 -0000 Received: (qmail 14607 invoked by uid 22791); 18 Jun 2007 13:06:23 -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, 18 Jun 2007 13:06:22 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 512CD982E4; Mon, 18 Jun 2007 13:06:20 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 1D3D4982E3; Mon, 18 Jun 2007 13:06:20 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I0GwF-0002Sy-Ln; Mon, 18 Jun 2007 09:06:35 -0400 Date: Mon, 18 Jun 2007 13:06:00 -0000 From: Daniel Jacobowitz To: Maik Beckmann Cc: gdb@sourceware.org Subject: Re: how to view content in stl vector Message-ID: <20070618130635.GA9453@caradoc.them.org> Mail-Followup-To: Maik Beckmann , gdb@sourceware.org References: <200706181426.36383.maikbeckmann@gmx.de> <20070618123650.GA6075@caradoc.them.org> <200706181453.21676.maikbeckmann@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706181453.21676.maikbeckmann@gmx.de> 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-06/txt/msg00143.txt.bz2 On Mon, Jun 18, 2007 at 02:53:21PM +0200, Maik Beckmann wrote: > > call foo(i) > No symbol "foo" in current context. You have to specify the instantiation manually, sorry. Figuring out which teplated and/or overloaded function to call is one of the hardest parts of a C++ compiler front end; when I spoke to Mark Mitchell about this, he estimated it at about 10,000 lines of code. In light of that it's not surprising that GDB can't do it. You have to give it some help. -- Daniel Jacobowitz CodeSourcery