From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10571 invoked by alias); 7 Dec 2007 08:29:10 -0000 Received: (qmail 10557 invoked by uid 22791); 7 Dec 2007 08:29:09 -0000 X-Spam-Check-By: sourceware.org Received: from mail.tut.by (HELO speedy.tutby.com) (195.137.160.40) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Dec 2007 08:29:01 +0000 Received: from [194.105.120.70] (account spiridenok@tut.by) by speedy.tutby.com (CommuniGate Pro WEBUSER 5.1.12) with HTTP id 448141089; Fri, 07 Dec 2007 10:28:53 +0200 From: "Dima S" Subject: Re: C++ names in backtrace To: Paul Koning Cc: gdb@sourceware.org X-Mailer: CommuniGate Pro WebUser v5.1.12 Date: Fri, 07 Dec 2007 08:29:00 -0000 Message-ID: In-Reply-To: <18262.48200.586110.349260@pkoning-laptop.equallogic.com> References: <18256.9079.496311.286@pkoning-laptop.equallogic.com> <47505A21.9060300@earthlink.net> <18262.48200.586110.349260@pkoning-laptop.equallogic.com> MIME-Version: 1.0 Content-Type: text/plain;charset=windows-1251;format="flowed" Content-Transfer-Encoding: 8bit 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: 2007-12/txt/msg00057.txt.bz2 I've downloaded & built a version of c++filt (version GNU c++filt (GNU Binutils)2.18 to be more precise). When i run the c++filt program with my mangles names i get correct demangled names on the output: Examples (the mandgled names used here can be found in my previous posts): ./binutils/cxxfilt _ZN7WSLCLAG21select_actuator_parmsEi WSLCLAG::select_actuator_parms(int) ./binutils/cxxfilt _ZN7CxxTest14ErrorFormatter3runEv CxxTest::ErrorFormatter::run() ./binutils/cxxfilt _ZN7WSLCLAG7destroyEv WSLCLAG::destroy() So it seems that i can demangle the names from gdb backtrace using c++filt. Does it mean/say anything to anybody? How can i get demangled names in gdb? Thanks in advance! Wed, 5 Dec 2007 09:57:12 -0500, Paul Koning : > >>>>>> "Dima" == Dima S writes: > > Dima> Sorry but i'm not familiar with "c++filt"... What is it and > Dima> how can i feed my mangled names to it? > > It's one of the GNU tools, like gcc. You'll find it in the same > place. > >Feed it the names you want to demangle to its stdin, and they will > come out to stdout. > > paul > ----------- WWW.PIZZA.BY - Äîñòàâêà íà äîì èëè â îôèñ ïèööû, ñóøè, øàøëûêà, íàïèòêîâ êðóãëîñóòî÷íî. http://pizza.by