This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: C++ names in backtrace
- From: "Dima S" <spiridenok at tut dot by>
- To: Paul Koning <pkoning at equallogic dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 07 Dec 2007 10:28:53 +0200
- Subject: Re: C++ names in backtrace
- References: <web-442107317@speedy.tutby.com> <18256.9079.496311.286@pkoning-laptop.equallogic.com> <web-442287840@speedy.tutby.com> <47505A21.9060300@earthlink.net> <web-446662161@speedy.tutby.com> <18262.48200.586110.349260@pkoning-laptop.equallogic.com>
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 <pkoning@equallogic.com>:
"Dima" == Dima S <spiridenok@tut.by> 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