diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-12-10 16:12:33 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-12-10 16:12:33 +0000 |
commit | 68cdf72f1e56a9ff8261c8236dad44ea1e572aca (patch) | |
tree | 3bfca48c3136aef159a1f20af53f5ca3996823b1 /binutils/doc | |
parent | e7e2196da3f0157573acc1b4fa2f7a87da9f044f (diff) | |
download | gdb-68cdf72f1e56a9ff8261c8236dad44ea1e572aca.zip gdb-68cdf72f1e56a9ff8261c8236dad44ea1e572aca.tar.gz gdb-68cdf72f1e56a9ff8261c8236dad44ea1e572aca.tar.bz2 |
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.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index a96ecac..fa4fa26 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -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 |