1.TH SCC-ADDR2LINE 1 scc\-VERSION2.SH NAME3scc-addr2line \- translate addresses into file names and line numbers4.SH SYNOPSIS5.B scc-addr2line6.RB [ \-e7.IR file ]8.RI [ addr ...]9.SH DESCRIPTION10.B scc-addr2line11translates program addresses into file names and line numbers.12Given an address in an executable, it uses the debug information in13the object file to determine which source file and line number14correspond to that address.15.PP16Addresses are specified in hexadecimal. For each address,17.B scc-addr2line18prints the corresponding source file name and line number to standard19output, in the form:20.IP21.EX22filename:linenumber23.EE24.PP25If no addresses are given as arguments,26.B scc-addr2line27reads addresses from standard input, one per line, and translates each28one. This mode continues until an error is encountered or end-of-file29is reached.30.SH OPTIONS31.TP32.BI \-e " file"33Use34.I file35as the executable to translate addresses from.36If this option is not specified,37.B scc-addr2line38uses39.B a.out40as the default executable.41.SH OPERANDS42.TP43.I addr44A hexadecimal address to translate. Multiple addresses may be specified45as separate arguments and will be translated in order.46.SH EXAMPLES47Translate a single address in the default executable:48.IP49.EX50scc-addr2line 0x4005a051.EE52.PP53Translate multiple addresses in a specific executable:54.IP55.EX56scc-addr2line \-e myprog 0x4005a0 0x40062057.EE58.PP59Read addresses from standard input:60.IP61.EX62echo 0x4005a0 | scc-addr2line \-e myprog63.EE64.SH SEE ALSO65.BR scc-nm (1),66.BR scc-objdump (1),67.BR scc-strip (1),68.BR scc-cc (1)