From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29245 invoked by alias); 18 Jun 2007 14:35:16 -0000 Received: (qmail 29231 invoked by uid 22791); 18 Jun 2007 14:35:15 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 18 Jun 2007 14:35:09 +0000 Received: (qmail invoked by alias); 18 Jun 2007 14:35:07 -0000 Received: from port-83-236-52-166.dynamic.qsc.de (EHLO port-83-236-52-166.dynamic.qsc.de) [83.236.52.166] by mail.gmx.net (mp056) with SMTP; 18 Jun 2007 16:35:07 +0200 X-Authenticated: #9832049 From: Maik Beckmann To: gdb@sourceware.org Subject: Re: how to view content in stl vector Date: Mon, 18 Jun 2007 14:35:00 -0000 User-Agent: KMail/1.9.7 References: <200706181453.21676.maikbeckmann@gmx.de> <20070618130635.GA9453@caradoc.them.org> In-Reply-To: <20070618130635.GA9453@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706181634.31544.maikbeckmann@gmx.de> X-Y-GMX-Trusted: 0 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/msg00144.txt.bz2 Am Montag, 18. Juni 2007 15:06:35 schrieb Daniel Jacobowitz: > You have to specify the instantiation manually hm, how is this be done? I tried this call foo(i) but gdb responds No symbol "foo" in current context. or is it about the mangled symbol from the disassembly? 0x08048972 : call 0x8048b66 <_Z3fooIiEbT_> Doing p _Z3fooIiEbT_(i) crahes gdb. ( btw. p p _Z3fooIiEbT_ gives "{bool (int)} 0x8048b66 (int)>" ) How looks the line for calling foo correctly? thanks in advance, Maik Beckmann