From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2140 invoked by alias); 5 Feb 2008 13:16:58 -0000 Received: (qmail 2132 invoked by uid 22791); 5 Feb 2008 13:16:57 -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, 05 Feb 2008 13:16:38 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 542C298100; Tue, 5 Feb 2008 13:16:36 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id E3B38980E0; Tue, 5 Feb 2008 13:16:35 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JMNf8-0002mC-G2; Tue, 05 Feb 2008 08:16:34 -0500 Date: Tue, 05 Feb 2008 13:16:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: Variable objects and STL containers Message-ID: <20080205131634.GA10652@caradoc.them.org> Mail-Followup-To: Nick Roberts , Vladimir Prus , gdb@sources.redhat.com References: <18343.64413.689019.489727@kahikatea.snap.net.nz> <18344.836.184542.934917@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18344.836.184542.934917@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-02/txt/msg00023.txt.bz2 On Tue, Feb 05, 2008 at 07:33:40PM +1300, Nick Roberts wrote: > Are iterators available to GDB, or just the executable? I only seem able to > access those methods which are used by my program, e.g., That's generally correct; there's nothing in the debug info explaining what template or inline methods do which are not instantiated out-of-line somewhere in the program. With optimization you may not be able to call them even if they are used. -- Daniel Jacobowitz CodeSourcery