Name

demangle-style

Synopsis

set demangle-style style
show demangle-style

Choose the scheme used to convert a “mangled” name back into the original Objective C or C++ name. Available values for style are:

a In practice this isn’t likely to be an issue; cfront-based C++ compilers are no longer common.

arm

Use the algorithm given in The Annotated C++ Reference Manual (see the Bibliography). The GDB documentation warns that this setting alone does not allow debugging of code produced by cfront.

auto

GDB attempts to figure out the demangling style.

gnu

Use the same scheme as that of the GNU C++ compiler (g++). This is the default.

hp

Use the scheme of HP’s ANSI C++ compiler, aCC.

lucid

Use the scheme from Lucid’s C++ compiler, lcc.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.