From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11630 invoked by alias); 12 Dec 2005 11:26:56 -0000 Received: (qmail 11623 invoked by uid 22791); 12 Dec 2005 11:26:55 -0000 X-Spam-Check-By: sourceware.org Received: from velcro.umiacs.umd.edu (HELO velcro.umiacs.umd.edu) (128.8.120.103) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Dec 2005 11:26:53 +0000 Received: from trifle.umiacs.umd.edu (trifle.umiacs.umd.edu [128.8.120.213]) by velcro.umiacs.umd.edu (8.13.1/8.13.1) with ESMTP id jBCBQppK013676; Mon, 12 Dec 2005 06:26:51 -0500 (EST) Received: from localhost (glassner@localhost) by trifle.umiacs.umd.edu (8.12.10/8.13.1) with ESMTP id jBCBQmDk016543; Mon, 12 Dec 2005 06:26:50 -0500 (EST) Date: Mon, 12 Dec 2005 11:26:00 -0000 From: Grazia Russo-Lassner To: Jim Blandy cc: gdb@sources.redhat.com Subject: Re: how to debug functions called from other classes In-Reply-To: <8f2776cb0512111209t7d4ba313x3bf9b19553175399@mail.gmail.com> Message-ID: References: <20051209214948.GA24287@nevyn.them.org> <8f2776cb0512101044h7e870480i74b03b9058e54574@mail.gmail.com> <8f2776cb0512111209t7d4ba313x3bf9b19553175399@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: 2005-12/txt/msg00142.txt.bz2 thank you, Jim. i am able to step into the function now. Grazia On Sun, 11 Dec 2005, Jim Blandy wrote: > On 12/11/05, Grazia Russo-Lassner wrote: >> my question is how tobe able to step into BuildVcb. >> So far when I "step" the entire output of BuildVcb gets printed out. > > So, when the program reaches the line containing the call of the > BuildVcb method, and you type "step", GDB acts as if you had typed > "next" or "continue"? > > If you ask GDB to "step" into a function or method that has no > debugging information, GDB will do a "next" instead. Did you compile > the file that contains the definition of the BuildVcb method with -g? >