diff options
author | Nick Clifton <nickc@redhat.com> | 2011-10-13 15:33:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-10-13 15:33:34 +0000 |
commit | 9cf03b7e412b9cdeca8b5ea3f73c081e31078a28 (patch) | |
tree | 98414a0b3929e786240399752746cb975e57e37a /binutils/doc | |
parent | d930d06e3fd1c821a020561a8cc583db005f7c10 (diff) | |
download | gdb-9cf03b7e412b9cdeca8b5ea3f73c081e31078a28.zip gdb-9cf03b7e412b9cdeca8b5ea3f73c081e31078a28.tar.gz gdb-9cf03b7e412b9cdeca8b5ea3f73c081e31078a28.tar.bz2 |
2011-10-13 Nick Clifton <nickc@redhat.com>
Fixes to aid translation:
* addr2line.c (translate_address): Add comments describing context
of a couple of printf statements.
* ar.c (write_archive): Allow translation of error message.
* bucomm.c (endian_string): Allow translation of strings.
(display_target_list): Allow translation.
* coffdump.c (dump_coff_type): Allow translation of output.
(dump_coff_where): Likewise.
(dump_coff_symbol): Likewise.
(dump_coff_scope): Likewise.
(dump_coff_sfile): Likewise.
(dump_coff_section): Likewise.
(coff_dump): Likewise.
* dlltool (def_version): Allow translation of output.
(run): Likewise.
* dllwrap.c (run): Allow translation of output.
* dwarf.c (print_dwarf_vma): Allow translation of output.
(process_extended_line_op): Remove spurious translation.
Add translation for strings that can be translated.
(decode_location_exression): Allow translation of output.
(read_and_display_attr_value): Allow translation of output.
* readelf.c (slurp_rela_relocs): Add translation for error
messages when failing to get data.
(slurp_rel_relocs): Likewise.
(get_32bit_elf_symbols): Likewise.
(get_64bit_elf_symbols): Likewise.
(dump_ia64_vms_dynamic_relocs): Replace abbreviation with full
word.
(process_relocs): Remove spurious translation.
(decode_tic6x_unwind_bytecode): Likewise.
(process_version_section): Improve error messages.
(process_mips_specific): Likewise.
(print_gnu_note): Remove spurious translation.
(print_stapsdt_note): Likewise.
(get_ia64_vms_note_type): Likewise.
* sysdump.c (getCHARS): Allow translation.
(fillup): Allow translation of output.
(getone): Likewise.
(must): Likewise.
(derived_type): Likewise.
* doc/binutils.doc (addr2line): Extend description of command line
options.
* po/binutils.pot: Regenerate.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 35ccb87..684b3b7 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -3040,11 +3040,25 @@ address on standard output. In this mode, @command{addr2line} may be used in a pipe to convert dynamically chosen addresses. The format of the output is @samp{FILENAME:LINENO}. The file name and -line number for each address is printed on a separate line. If the -@command{-f} option is used, then each @samp{FILENAME:LINENO} line is -preceded by a @samp{FUNCTIONNAME} line which is the name of the function -containing the address. If the @command{-a} option is used, then the -address read is first printed. +line number for each input address is printed on separate lines. + +If the @option{-f} option is used, then each @samp{FILENAME:LINENO} +line is preceded by @samp{FUNCTIONNAME} which is the name of the +function containing the address. + +If the @option{-i} option is used and the code at the given address is +present there because of inlining by the compiler then the +@samp{@{FUNCTIONNAME@} FILENAME:LINENO} information for the inlining +function will be displayed afterwards. This continues recursively +until there is no more inlining to report. + +If the @option{-a} option is used then the output is prefixed by the +input address. + +If the @option{-p} option is used then the output for each input +address is displayed on one, possibly quite long, line. If +@option{-p} is not used then the output is broken up into multiple +lines, based on the paragraphs above. If the file name or function name can not be determined, @command{addr2line} will print two question marks in their place. If the @@ -3060,7 +3074,7 @@ equivalent. @table @env @item -a @itemx --addresses -Display address before function names or file and line number +Display the address before the function name, file and line number information. The address is printed with a @samp{0x} prefix to easily identify it. |