OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [binutils/] [doc/] [binutils.texi] - Diff between revs 161 and 163

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 161 Rev 163
Line 3038... Line 3038...
standard input, and prints the file name and line number for each
standard input, and prints the file name and line number for each
address on standard output.  In this mode, @command{addr2line} may be used
address on standard output.  In this mode, @command{addr2line} may be used
in a pipe to convert dynamically chosen addresses.
in a pipe to convert dynamically chosen addresses.
 
 
The format of the output is @samp{FILENAME:LINENO}.  The file name and
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
line number for each input address is printed on separate lines.
@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
If the @option{-f} option is used, then each @samp{FILENAME:LINENO}
containing the address.  If the @command{-a} option is used, then the
line is preceded by @samp{FUNCTIONNAME} which is the name of the
address read is first printed.
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,
If the file name or function name can not be determined,
@command{addr2line} will print two question marks in their place.  If the
@command{addr2line} will print two question marks in their place.  If the
line number can not be determined, @command{addr2line} will print 0.
line number can not be determined, @command{addr2line} will print 0.
 
 
Line 3058... Line 3072...
equivalent.
equivalent.
 
 
@table @env
@table @env
@item -a
@item -a
@itemx --addresses
@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
information.  The address is printed with a @samp{0x} prefix to easily
identify it.
identify it.
 
 
@item -b @var{bfdname}
@item -b @var{bfdname}
@itemx --target=@var{bfdname}
@itemx --target=@var{bfdname}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.