This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH 1/5] addr2line: Split options in input and output format groups.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 21 May 2015 15:23:07 +0200
- Subject: Re: [PATCH 1/5] addr2line: Split options in input and output format groups.
On Wed, 2015-05-20 at 11:18 -0700, Roland McGrath wrote:
> With a patch like this it's nice to post the new --help output so we can
> easily see the effect without trying the patch ourselves. But even going
> blind, this looks fine.
Good point. Sorry for not posting. This is the full help text after the
whole patch series:
Usage: addr2line [OPTION...] [ADDR...]
Locate source files and line information for ADDRs (in a.out by default).
Input selection options:
--core=COREFILE Find addresses from signatures found in COREFILE
--debuginfo-path=PATH Search path for separate debuginfo files
-e, --executable=FILE Find addresses in FILE
-k, --kernel Find addresses in the running kernel
-K, --offline-kernel[=RELEASE] Kernel with all modules
-M, --linux-process-map=FILE Find addresses in files mapped as read from
FILE in Linux /proc/PID/maps format
-p, --pid=PID Find addresses in files mapped into process PID
Input format options:
-j, --section=NAME Treat addresses as offsets relative to NAME
section.
Output format options:
-a, --addresses Print address before each entry
-A, --absolute Show absolute file names using compilation
directory
-C, --demangle[=ARG] Show demangled symbols (ARG is always ignored)
-f, --functions Also show function names
-F, --flags Also show line table flags
-i, --inlines Show all source locations that caused inline
expansion of subroutines at the address.
--pretty-print Print all information on one line, and indent
inlines
-s, --basenames Show only base names of source files
-S, --symbols Also show symbol or section names
-x, --symbols-sections Also show symbol and the section names
Miscellaneous:
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Report bugs to https://bugzilla.redhat.com/.