mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2009-12-10 Tristan Gingold <gingold@adacore.com>
* addr2line.c (pretty_print): New variable. (long_options): Add an entry for -p/--pretty-print. (usage): Document -p/--pretty-print. (translate_addresses): Handle pretty_print. Reindent. (main): Handle option -p. * doc/binutils.texi (addr2line): Document -p/--pretty-print. * NEWS: Mention new feature.
This commit is contained in:
@ -2912,6 +2912,7 @@ addr2line [@option{-a}|@option{--addresses}]
|
||||
[@option{-e} @var{filename}|@option{--exe=}@var{filename}]
|
||||
[@option{-f}|@option{--functions}] [@option{-s}|@option{--basename}]
|
||||
[@option{-i}|@option{--inlines}]
|
||||
[@option{-p}|@option{--pretty-print}]
|
||||
[@option{-j}|@option{--section=}@var{name}]
|
||||
[@option{-H}|@option{--help}] [@option{-V}|@option{--version}]
|
||||
[addr addr @dots{}]
|
||||
@ -3006,6 +3007,12 @@ will also be printed.
|
||||
@item -j
|
||||
@itemx --section
|
||||
Read offsets relative to the specified section instead of absolute addresses.
|
||||
|
||||
@item -p
|
||||
@itemx --pretty-print
|
||||
Make the output more human friendly: each location are printed on one line.
|
||||
If option @option{-i} is specified, lines for all enclosing scopes are
|
||||
prefixed with @samp{(inlined by)}.
|
||||
@end table
|
||||
|
||||
@c man end
|
||||
|
Reference in New Issue
Block a user