From cbf1f5df2bdcfec5876190038b045324029ff2ad Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 4 Oct 2005 11:03:38 +0000 Subject: * cxxfilt.c: Treat mangled names specified on the command line in the same way as mangled names read from stdin. Add -i switch to disable the display of implementation details. Add -t switch to disable the demangling of types. * NEWS: Mention the new switches. * doc/binutils.texi (cxxfilt): Document the -i and -t switches. --- binutils/doc/binutils.texi | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'binutils/doc/binutils.texi') diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 8c8e5dc..fe7eb60 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -2397,9 +2397,10 @@ the Info entries for @file{binutils}. @smallexample @c man begin SYNOPSIS cxxfilt c++filt [@option{-_}|@option{--strip-underscores}] - [@option{-j}|@option{--java}] [@option{-n}|@option{--no-strip-underscores}] [@option{-p}|@option{--no-params}] + [@option{-t}|@option{--no-types}] + [@option{-i}|@option{--no-verbose}] [@option{-s} @var{format}|@option{--format=}@var{format}] [@option{--help}] [@option{--version}] [@var{symbol}@dots{}] @c man end @@ -2420,9 +2421,9 @@ names into user-level names so that the linker can keep these overloaded functions from clashing. Every alphanumeric word (consisting of letters, digits, underscores, -dollars, or periods) seen in the input is a potential label. If the -label decodes into a C++ name, the C++ name replaces the low-level -name in the output. +dollars, or periods) seen in the input is a potential mangled name. +If the name decodes into a C++ name, the C++ name replaces the +low-level name in the output. You can use @command{c++filt} to decipher individual symbols: @@ -2460,6 +2461,16 @@ Do not remove the initial underscore. When demangling the name of a function, do not display the types of the function's parameters. +@item -t +@itemx --no-types +Do not attempt to demangle types. This is enabled by default, but it +may not be desired if you are interested in mangled function names. + +@item -i +@itemx --no-verbose +Do not include implementation details (if any) in the demangled +output. + @item -s @var{format} @itemx --format=@var{format} @command{c++filt} can decode various methods of mangling, used by -- cgit v1.1