From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4673 invoked by alias); 2 Apr 2004 14:48:34 -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 4631 invoked from network); 2 Apr 2004 14:48:32 -0000 Received: from unknown (HELO thingol.ac.utimaco.de) (194.245.91.1) by sources.redhat.com with SMTP; 2 Apr 2004 14:48:32 -0000 Received: (from mail@localhost) by thingol.ac.utimaco.de (8.12.10/8.12.10) id i32EtS0d027123; Fri, 2 Apr 2004 16:55:28 +0200 Message-ID: <406D7D1B.1060501@smgwtest.aachen.utimaco.de> Date: Fri, 02 Apr 2004 14:48:00 -0000 From: Holger Sesterhenn Organization: Utimaco Safeware AG, NL Aachen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Re: Problem debugging statically linked c++ program with GDB 6.0 References: <406D578A.6010408@smgwtest.aachen.utimaco.de> <20040402132605.GA31210@white> In-Reply-To: <20040402132605.GA31210@white> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00012.txt.bz2 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! Best Regards, Holger Sesterhenn --- Internet http://www.utimaco.com