C++ names in backtrace

Dima S spiridenok@tut.by
Fri Dec 7 08:29:00 GMT 2007


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 



More information about the Gdb mailing list