From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14225 invoked by alias); 5 Aug 2008 12:40:29 -0000 Received: (qmail 14217 invoked by uid 22791); 5 Aug 2008 12:40:28 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Aug 2008 12:39:49 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 7EFAB418BD; Tue, 5 Aug 2008 14:39:46 +0200 (CEST) From: Andreas Schwab To: =?iso-8859-1?Q?Andr=E9_P=F6nitz?= Cc: gdb@sources.redhat.com Subject: Re: gdb problem with 'malloc' in unnamed namespace References: <200808051407.14091.apoenitz@trolltech.com> X-Yow: Is the EIGHTIES when they had ART DECO and GERALD McBOING-BOING lunch boxes?? Date: Tue, 05 Aug 2008 12:40:00 -0000 In-Reply-To: <200808051407.14091.apoenitz@trolltech.com> (=?iso-8859-1?Q?=22Andr=E9_P=F6nitz=22's?= message of "Tue, 5 Aug 2008 14:07:13 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00068.txt.bz2 André Pönitz writes: > So the 'malloc' from the debugged program is picked up by gdb, even if the > symbol name ("_ZN29_GLOBAL__N__00000000_271D34D06mallocEv") does > not match. Note that symbol lookup also considers the demangled name, which matches here. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."