From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28987 invoked by alias); 2 Apr 2004 15:16:38 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28967 invoked from network); 2 Apr 2004 15:16:37 -0000 Received: from unknown (HELO lakemtao01.cox.net) (68.1.17.244) by sources.redhat.com with SMTP; 2 Apr 2004 15:16:37 -0000 Received: from white ([68.9.64.121]) by lakemtao01.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040402151636.QQKI26108.lakemtao01.cox.net@white>; Fri, 2 Apr 2004 10:16:36 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1B9QPN-00089f-00; Fri, 02 Apr 2004 10:16:37 -0500 Date: Fri, 02 Apr 2004 15:16:00 -0000 From: Bob Rossi To: Holger Sesterhenn Cc: gdb@sources.redhat.com Subject: Re: Problem debugging statically linked c++ program with GDB 6.0 Message-ID: <20040402151637.GA31296@white> Mail-Followup-To: Holger Sesterhenn , gdb@sources.redhat.com References: <406D578A.6010408@smgwtest.aachen.utimaco.de> <20040402132605.GA31210@white> <406D7D1B.1060501@smgwtest.aachen.utimaco.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <406D7D1B.1060501@smgwtest.aachen.utimaco.de> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-04/txt/msg00013.txt.bz2 On Fri, Apr 02, 2004 at 04:47:55PM +0200, Holger Sesterhenn wrote: > Hi, > > > Because of this, I have added the snippet below to my .gdbinit file > [...] > > This seems to work ok, even though it's not the perfect solution. > > For some reason calling the length() function never seems to crash for > > me. > > Thank you for the quick response but unfortunately this does not work > for me either. > > Looks like there is a general problem calling methods. 'call a.c_str()' > crashes, too! Interesting, why doesn't my solution work? Bob Rossi