From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21294 invoked by alias); 11 Dec 2005 20:09:22 -0000 Received: (qmail 21207 invoked by uid 22791); 11 Dec 2005 20:09:22 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.204) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 11 Dec 2005 20:09:21 +0000 Received: by zproxy.gmail.com with SMTP id l1so1308585nzf for ; Sun, 11 Dec 2005 12:09:19 -0800 (PST) Received: by 10.36.227.80 with SMTP id z80mr5359749nzg; Sun, 11 Dec 2005 12:09:19 -0800 (PST) Received: by 10.37.2.6 with HTTP; Sun, 11 Dec 2005 12:09:19 -0800 (PST) Message-ID: <8f2776cb0512111209t7d4ba313x3bf9b19553175399@mail.gmail.com> Date: Sun, 11 Dec 2005 20:09:00 -0000 From: Jim Blandy To: Grazia Russo-Lassner Subject: Re: how to debug functions called from other classes Cc: gdb@sources.redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051209214948.GA24287@nevyn.them.org> <8f2776cb0512101044h7e870480i74b03b9058e54574@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: 2005-12/txt/msg00135.txt.bz2 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?