addr2line

QNX SDP8.0Utilities ReferenceUtilities

Convert addresses into line number/file name pairs (GNU)

Syntax:

addr2line_variant [options] [addr ...]

where addr2line_variant depends on the target platform, as follows:

Target platform addr2line_variant
AArch64 ntoaarch64-addr2line
x86 64-bit ntox86_64-addr2line

Runs on:

Linux, Microsoft Windows

Description:

The addr2line utility translates program addresses into file names and line numbers. Given an address and an executable, it uses the debugging information in the executable to figure out which file name and line number are associated with a given address.

For more information, see the Binutils documentation on the GNU website at https://www.gnu.org/software/binutils/manual/.

Contributing author:

GNU

Page updated: