From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10785 invoked by alias); 10 Dec 2005 18:44:14 -0000 Received: (qmail 10777 invoked by uid 22791); 10 Dec 2005 18:44:13 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.193) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 10 Dec 2005 18:44:12 +0000 Received: by zproxy.gmail.com with SMTP id l1so1171151nzf for ; Sat, 10 Dec 2005 10:44:10 -0800 (PST) Received: by 10.36.227.80 with SMTP id z80mr4587474nzg; Sat, 10 Dec 2005 10:44:10 -0800 (PST) Received: by 10.37.2.6 with HTTP; Sat, 10 Dec 2005 10:44:10 -0800 (PST) Message-ID: <8f2776cb0512101044h7e870480i74b03b9058e54574@mail.gmail.com> Date: Sat, 10 Dec 2005 18:44: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> 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/msg00119.txt.bz2 On 12/10/05, Grazia Russo-Lassner wrote: > the function BuildVcb is where the error message of my code comes from: > > line50 : parser->BuildVcb(arg1, arg2); So, 'BuildVcb' is a method of whatever class 'parser' points to; and when you call 'parser->BuildVcb', that code prints an error message; is that right? What does GDB do when you reach line 50 and type 'step' to step into the method call? Can you show us a transcript?