This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fix usage messages


The lists of demangling styles in usage messages do not include the java and 
gnat styles.  This patch adds them.  The names of all the demangling styles 
are quoted inconsistently in these messages -- some of them use both back and 
forward single quotes and some use only the forward quotes.  Judging from 
other quoted text elsewhere, the backward/forward combination seems to be the 
most standard, so the patch also changes to use that style consistently.

2003-02-12  Bob Wilson  <bob.wilson@acm.org>

	* nm.c (usage): Add `java' and `gnat' demangle styles and make
	quotes consistent.
	* objdump.c (usage): Ditto.  Also fix some typos.

Index: nm.c
===================================================================
RCS file: /cvs/src/src/binutils/nm.c,v
retrieving revision 1.33
diff -c -3 -r1.33 nm.c
*** nm.c	30 Nov 2002 08:39:41 -0000	1.33
--- nm.c	12 Feb 2003 17:36:04 -0000
***************
*** 288,294 ****
    -B                     Same as --format=bsd\n\
    -C, --demangle[=STYLE] Decode low-level symbol names into user-level names\n\
                            The STYLE, if specified, can be `auto' (the default),\n\
!                           `gnu', 'lucid', 'arm', 'hp', 'edg' or 'gnu-v3'\n\
        --no-demangle      Do not demangle low-level symbol names\n\
    -D, --dynamic          Display dynamic symbols instead of normal symbols\n\
        --defined-only     Display only defined symbols\n\
--- 288,295 ----
    -B                     Same as --format=bsd\n\
    -C, --demangle[=STYLE] Decode low-level symbol names into user-level names\n\
                            The STYLE, if specified, can be `auto' (the default),\n\
!                           `gnu', `lucid', `arm', `hp', `edg', `gnu-v3',\n\
!                           `java' or `gnat'\n
        --no-demangle      Do not demangle low-level symbol names\n\
    -D, --dynamic          Display dynamic symbols instead of normal symbols\n\
        --defined-only     Display only defined symbols\n\
Index: objdump.c
===================================================================
RCS file: /cvs/src/src/binutils/objdump.c,v
retrieving revision 1.61
diff -c -3 -r1.61 objdump.c
*** objdump.c	30 Nov 2002 08:39:41 -0000	1.61
--- objdump.c	12 Feb 2003 17:36:05 -0000
***************
*** 230,241 ****
        --file-start-context       Include context from start of file (with -S)\n\
    -l, --line-numbers             Include line numbers and filenames in output\n\
    -C, --demangle[=STYLE]         Decode mangled/processed symbol names\n\
!                                   The STYLE, if specified, can be `auto', 'gnu',\n\
!                                   'lucid', 'arm', 'hp', 'edg', or 'gnu-v3'\n\
    -w, --wide                     Format output for more than 80 columns\n\
    -z, --disassemble-zeroes       Do not skip blocks of zeroes when disassembling\n\
!       --start-address=ADDR       Only process data whoes address is >= ADDR\n\
!       --stop-address=ADDR        Only process data whoes address is <= ADDR\n\
        --prefix-addresses         Print complete address alongside disassembly\n\
        --[no-]show-raw-insn       Display hex alongside symbolic disassembly\n\
        --adjust-vma=OFFSET        Add OFFSET to all displayed section addresses\n\
--- 230,242 ----
        --file-start-context       Include context from start of file (with -S)\n\
    -l, --line-numbers             Include line numbers and filenames in output\n\
    -C, --demangle[=STYLE]         Decode mangled/processed symbol names\n\
!                                   The STYLE, if specified, can be `auto', `gnu',\n\
!                                   `lucid', `arm', `hp', `edg', `gnu-v3',\n\
!                                   `java' or `gnat'\n\
    -w, --wide                     Format output for more than 80 columns\n\
    -z, --disassemble-zeroes       Do not skip blocks of zeroes when disassembling\n\
!       --start-address=ADDR       Only process data whose address is >= ADDR\n\
!       --stop-address=ADDR        Only process data whose address is <= ADDR\n\
        --prefix-addresses         Print complete address alongside disassembly\n\
        --[no-]show-raw-insn       Display hex alongside symbolic disassembly\n\
        --adjust-vma=OFFSET        Add OFFSET to all displayed section addresses\n\

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]