X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fdoc%2Fbinutils.texi;h=fe7eb60c1058af3b7f05913674b6b4a5f63b73b2;hb=df3b293657ae8cee24fb8b6444e18612c16d1ddd;hp=5fe6e52bc76a36b9464d54839c4d67d39eee3590;hpb=36d3b95500e41eafdea62bb4bd6583a5a391ec43;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 5fe6e52bc7..fe7eb60c10 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -166,6 +166,7 @@ section entitled "GNU Free Documentation License". * nlmconv:: Converts object code into an NLM * windres:: Manipulate Windows resources * dlltool:: Create files needed to build and use DLLs +* Common Options:: Command-line options for all utilities * Selecting The Target System:: How these utilities determine the target. * Reporting Bugs:: Reporting Bugs * GNU Free Documentation License:: GNU Free Documentation License @@ -1521,6 +1522,7 @@ objdump [@option{-a}|@option{--archive-headers}] [@option{-r}|@option{--reloc}] [@option{-R}|@option{--dynamic-reloc}] [@option{-s}|@option{--full-contents}] + [@option{-W}|@option{--dwarf}] [@option{-G}|@option{--stabs}] [@option{-t}|@option{--syms}] [@option{-T}|@option{--dynamic-syms}] @@ -1745,7 +1747,8 @@ suffix could be inferred by the operands. For PPC, @option{booke}, @option{booke32} and @option{booke64} select disassembly of BookE instructions. @option{32} and @option{64} select -PowerPC and PowerPC64 disassembly, respectively. +PowerPC and PowerPC64 disassembly, respectively. @option{e300} selects +disassembly for the e300 family. For MIPS, this option controls the printing of instruction mneumonic names and register names in disassembled instructions. Multiple @@ -1844,6 +1847,13 @@ in symbolic form. This is the default except when When disassembling instructions, do not print the instruction bytes. This is the default when @option{--prefix-addresses} is used. +@item -W +@itemx --dwarf +@cindex DWARF +@cindex debug symbols +Displays the contents of the DWARF debug sections in the file, if any +are present. + @item -G @itemx --stabs @cindex stab @@ -2387,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 @@ -2410,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: @@ -2450,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 @@ -2524,6 +2545,7 @@ addr2line [@option{-b} @var{bfdname}|@option{--target=}@var{bfdname}] [@option{-C}|@option{--demangle}[=@var{style}]] [@option{-e} @var{filename}|@option{--exe=}@var{filename}] [@option{-f}|@option{--functions}] [@option{-s}|@option{--basename}] + [@option{-i}|@option{--inlines}] [@option{-H}|@option{--help}] [@option{-V}|@option{--version}] [addr addr @dots{}] @c man end @@ -2596,6 +2618,15 @@ Display function names as well as file and line number information. @item -s @itemx --basenames Display only the base of each file name. + +@item -i +@itemx --inlines +If the address belongs to a function that was inlined, the source +information for all enclosing scopes back to the first non-inlined +function will also be printed. For example, if @code{main} inlines +@code{callee1} which inlines @code{callee2}, and address is from +@code{callee2}, the source information for @code{callee1} and @code{main} +will also be printed. @end table @c man end @@ -3244,7 +3275,7 @@ readelf [@option{-a}|@option{--all}] [@option{-l}|@option{--program-headers}|@option{--segments}] [@option{-S}|@option{--section-headers}|@option{--sections}] [@option{-g}|@option{--section-groups}] - [@option{-N}|@option{--full-section-name}] + [@option{-t}|@option{--section-details}] [@option{-e}|@option{--headers}] [@option{-s}|@option{--syms}|@option{--symbols}] [@option{-n}|@option{--notes}] @@ -3321,10 +3352,10 @@ has any. Displays the information contained in the file's section groups, if it has any. -@item -N -@itemx --full-section-name -@cindex ELF section name information -Displays the full section name for @option{-S}. +@item -t +@itemx --section-details +@cindex ELF section information +Displays the detailed section information. Implies @option{-S}. @item -s @itemx --symbols @@ -3415,6 +3446,35 @@ objdump(1), and the Info entries for @file{binutils}. @c man end @end ignore +@node Common Options +@chapter Common Options + +The following command-line options are supported by all of the +programs described in this manual. + +@table @env +@item @@@var{file} +Read command-line options from @var{file}. The options read are +inserted in place of the original @@@var{file} option. If @var{file} +does not exist, or cannot be read, then the option will be treated +literally, and not removed. + +Options in @var{file} are separated by whitespace. A whitespace +character may be included in an option by surrounding the entire +option in either single or double quotes. Any character (including a +backslash) may be included by prefixing the character to be included +character with a backslash. The @var{file} may itself contain +additional @@@var{file} options; any such options will be processed +recursively. + +@item --help +Display the command-line options supported by the program. + +@item --version +Display the version number of the program. + +@end table + @node Selecting The Target System @chapter Selecting the Target System