Caution: This version of this document is no longer maintained. For the latest documentation, see


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


addr2line_variant [options] [addr ...]

Runs on:

QNX Neutrino, Linux, Microsoft Windows


The addr2line_variant depends on the target platform, as follows:

Target platform: addr2line_variant:
ARM ntoarm-addr2line
MIPS ntomips-addr2line
PowerPC ntoppc-addr2line
SH4 ntosh-addr2line
x86 ntox86-addr2line


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 detailed documentation, see the GNU website at

Contributing author: