aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc/binutils.texi
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-10-04 11:03:38 +0000
committerNick Clifton <nickc@redhat.com>2005-10-04 11:03:38 +0000
commitcbf1f5df2bdcfec5876190038b045324029ff2ad (patch)
treea0dce0ac64ede91a3fd630dd0c1f208d202ffd6d /binutils/doc/binutils.texi
parentbd4aae00ccd21e4fd0bc03e5a122e9f08b95e01c (diff)
downloadgdb-cbf1f5df2bdcfec5876190038b045324029ff2ad.zip
gdb-cbf1f5df2bdcfec5876190038b045324029ff2ad.tar.gz
gdb-cbf1f5df2bdcfec5876190038b045324029ff2ad.tar.bz2
* 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.
Diffstat (limited to 'binutils/doc/binutils.texi')
-rw-r--r--binutils/doc/binutils.texi19
1 files changed, 15 insertions, 4 deletions
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