user friendly symbol name

Andreas Schwab schwab@linux-m68k.org
Fri Aug 9 10:22:00 GMT 2013


Shang Yu <yusunn@gmail.com> writes:

> How to display a user friendly symbol name in gdb ? For example , I
> want gdb display the following symbol name _ZNSt14basic_iostreamIwSt
> in its C++ equivalent format.

(gdb) help maintenance demangle                                                 
Demangle a C++/ObjC mangled name.                                               
Call internal GDB demangler routine to demangle a C++ link name                 
and prints the result.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb mailing list