diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-15 16:13:59 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-15 16:13:59 +0000 |
commit | 9eb39bca511f11b6b21fb823cf9216d52cf3a8bc (patch) | |
tree | 8ded4a99d358c18b8fad23e904dc8bd89371c930 /binutils/nm.c | |
parent | 605da7e26f895461e45f3573406d984d5173f2f6 (diff) | |
download | gdb-9eb39bca511f11b6b21fb823cf9216d52cf3a8bc.zip gdb-9eb39bca511f11b6b21fb823cf9216d52cf3a8bc.tar.gz gdb-9eb39bca511f11b6b21fb823cf9216d52cf3a8bc.tar.bz2 |
* nm.c (long_options): Add --no-demangle to turn off --demangle,
and --no-cplus for Linux compatibility.
(usage): Mention --no-demangle.
* binutils.texi: Document --no-demangle.
Diffstat (limited to 'binutils/nm.c')
-rw-r--r-- | binutils/nm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/nm.c b/binutils/nm.c index 5b2eada..1be15cd 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -183,6 +183,8 @@ static struct option long_options[] = {"extern-only", no_argument, &external_only, 1}, {"format", required_argument, 0, 'f'}, {"help", no_argument, 0, 'h'}, + {"no-cplus", no_argument, &do_demangle, 0}, /* Linux compatibility. */ + {"no-demangle", no_argument, &do_demangle, 0}, {"no-sort", no_argument, &no_sort, 1}, {"numeric-sort", no_argument, &sort_numerically, 1}, {"portability", no_argument, 0, 'P'}, @@ -208,7 +210,8 @@ Usage: %s [-aABCDgnopPrsuvV] [-t radix] [--radix=radix] [--target=bfdname]\n\ [--debug-syms] [--extern-only] [--print-armap] [--print-file-name]\n\ [--numeric-sort] [--no-sort] [--reverse-sort] [--undefined-only]\n\ [--portability] [-f {bsd,sysv,posix}] [--format={bsd,sysv,posix}]\n\ - [--demangle] [--dynamic] [--version] [--help] [file...]\n", + [--demangle] [--no-demangle] [--dynamic] [--version] [--help]\n\ + [file...]\n", program_name); exit (status); } |