.\" -*- coding: UTF-8 -*- .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .de IX .. .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" fudge factors for nroff and troff . .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} .\" simple accents for nroff and troff . .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} .\" troff and (daisy-wheel) nroff accents . .ds : \k:\h'-(\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \k:\h'-(\n(.wu+\w'\(de'u\-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\fI\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E .\" corrections for vroff . .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' .\" for low resolution devices (crt and lpr) . .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "ADDR2LINE 1" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH ADDR2LINE 1 "20. helmikuuta 2021" binutils\-2.35.2 "GNU kehitystyökalut" .if n .ad l .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .nh .SH NIMI addr2line \- muuntaa osoitteita tiedostonimiksi ja rivinumeroiksi .SH YLEISKATSAUS .IX Header YLEISKATSAUS addr2line [\fB\-a\fP|\fB\-\-addresses\fP] [\fB\-b\fP \fIbfdnimi\fP|\fB\-\-target=\fP\fIbfdnimi\fP] [\fB\-C\fP|\fB\-\-demangle\fP[=\fIstyle\fP]] [\fB\-r\fP|\fB\-\-no\-recurse\-limit\fP] [\fB\-R\fP|\fB\-\-recurse\-limit\fP] [\fB\-e\fP \fItiedostonimi\fP|\fB\-\-exe=\fP\fItiedostonimi\fP] [\fB\-f\fP|\fB\-\-functions\fP] [\fB\-s\fP|\fB\-\-basename\fP] [\fB\-i\fP|\fB\-\-inlines\fP] [\fB\-p\fP|\fB\-\-pretty\-print\fP] [\fB\-j\fP|\fB\-\-section=\fP\fInimi\fP] [\fB\-H\fP|\fB\-\-help\fP] [\fB\-V\fP|\fB\-\-version\fP] [osoite osoite ...] .SH KUVAUS .IX Header KUVAUS \&\fBaddr2line\fP translates addresses into file names and line numbers. Given an address in an executable or an offset in a section of a relocatable object, it uses the debugging information to figure out which file name and line number are associated with it. .PP The executable or relocatable object to use is specified with the \fB\-e\fP option. The default is the file \fIa.out\fP. The section in the relocatable object to use is specified with the \fB\-j\fP option. .PP \&\fBaddr2line\fP käsittää kaksi toimintamoodia. .PP Ensimmäisessä, heksadesimaali\-osoitteet määritellään komentorivillä, ja \fBaddr2line\fP näyttää tiedostonimen ja rivinumeron jokaiselle osoitteelle. .PP Toisessa, \fBaddr2line\fP lukee heksadesimaali\-osoitteet vakiosyötteestä, ja tulostaa tiedostonimen ja rivinumeron jokaiselle vakiosyötteen osoitteelle. Tässä moodissa \fBaddr2line\fP:a voidaan käyttää putkessa muuntamaan dynaamisesti valittuja osoitteita. .PP The format of the output is \fB\s-1FILENAME:LINENO\s0\fP. By default each input address generates one line of output. .PP Two options can generate additional lines before each \&\fB\s-1FILENAME:LINENO\s0\fP line (in that order). .PP If the \fB\-a\fP option is used then a line with the input address is displayed. .PP If the \fB\-f\fP option is used, then a line with the \&\fB\s-1FUNCTIONNAME\s0\fP is displayed. This is the name of the function containing the address. .PP One option can generate additional lines after the \&\fB\s-1FILENAME:LINENO\s0\fP line. .PP If the \fB\-i\fP option is used and the code at the given address is present there because of inlining by the compiler then additional lines are displayed afterwards. One or two extra lines (if the \&\fB\-f\fP option is used) are displayed for each inlined function. .PP Alternatively if the \fB\-p\fP option is used then each input address generates a single, long, output line containing the address, the function name, the file name and the line number. If the \&\fB\-i\fP option has also been used then any inlined functions will be displayed in the same manner, but on separate lines, and prefixed by the text \fB(inlined by)\fP. .PP Jos tiedostonimeä tai kutsun nimeä ei voida selvittää, \&\fBaddr2line\fP tulostaa kaksi kysymysmerkkiä niiden paikalla. Jos rivinumeroa ei voida selvittää, \fBaddr2line\fP tulostaa 0. .SH VALITSIMET .IX Header VALITSIMET Tässä on esitetty sekä lyhyet että pitkät muodot komentorivioptioista. Ne ovat toiminnoiltaan identtisiä. .IP \fB\-a\fP 4 .IX Item \-a .PD 0 .IP \fB\-\-addresses\fP 4 .IX Item \-\-addresses .PD Display the address before the function name, file and line number information. The address is printed with a \fB0x\fP prefix to easily identify it. .IP "\fB\-b\fP \fIbfdnimi\fP" 4 .IX Item "\-b bfdnimi" .PD 0 .IP \fB\-\-target=\fP\fIbfdnimi\fP 4 .IX Item \-\-target=bfdnimi .PD Specify that the object\-code format for the object files is \&\fIbfdname\fP. .IP \fB\-C\fP 4 .IX Item \-C .PD 0 .IP \fB\-\-demangle[=\fP\fIstyle\fP\fB]\fP 4 .IX Item \-\-demangle[=style] .PD Decode (\fIdemangle\fP) low\-level symbol names into user\-level names. Besides removing any initial underscore prepended by the system, this makes \*(C+ function names readable. Different compilers have different mangling styles. The optional demangling style argument can be used to choose an appropriate demangling style for your compiler. .IP "\fB\-e\fP \fItiedostonimi\fP" 4 .IX Item "\-e tiedostonimi" .PD 0 .IP \fB\-\-exe=\fP\fItiedostonimi\fP 4 .IX Item \-\-exe=tiedostonimi .PD Määrittää ajettavan tiedoston nimen mistä osoitteet pitäisi tulkita. Oletus tiedosto on \fIa.out\fP. .IP \fB\-f\fP 4 .IX Item \-f .PD 0 .IP \fB\-\-functions\fP 4 .IX Item \-\-functions .PD Näyttää kutsunumet kuten myös tiedosto\- ja rivinumerotiedot. .IP \fB\-s\fP 4 .IX Item \-s .PD 0 .IP \fB\-\-basenames\fP 4 .IX Item \-\-basenames .PD Näyttää vain jokaisen tiedostonimen kannat. .IP \fB\-i\fP 4 .IX Item \-i .PD 0 .IP \fB\-\-inlines\fP 4 .IX Item \-\-inlines .PD If the address belongs to a function that was inlined, the source information for all enclosing scopes back to the first non\-inlined function will also be printed. For example, if \f(CW\*(C`main\*(C'\fP inlines \&\f(CW\*(C`callee1\*(C'\fP which inlines \f(CW\*(C`callee2\*(C'\fP, and address is from \&\f(CW\*(C`callee2\*(C'\fP, the source information for \f(CW\*(C`callee1\*(C'\fP and \f(CW\*(C`main\*(C'\fP will also be printed. .IP \fB\-j\fP 4 .IX Item \-j .PD 0 .IP \fB\-\-section\fP 4 .IX Item \-\-section .PD Read offsets relative to the specified section instead of absolute addresses. .IP \fB\-p\fP 4 .IX Item \-p .PD 0 .IP \fB\-\-pretty\-print\fP 4 .IX Item \-\-pretty\-print .PD Make the output more human friendly: each location are printed on one line. If option \fB\-i\fP is specified, lines for all enclosing scopes are prefixed with \fB(inlined by)\fP. .IP \fB\-r\fP 4 .IX Item \-r .PD 0 .IP \fB\-R\fP 4 .IX Item \-R .IP \fB\-\-recurse\-limit\fP 4 .IX Item \-\-recurse\-limit .IP \fB\-\-no\-recurse\-limit\fP 4 .IX Item \-\-no\-recurse\-limit .IP \fB\-\-recursion\-limit\fP 4 .IX Item \-\-recursion\-limit .IP \fB\-\-no\-recursion\-limit\fP 4 .IX Item \-\-no\-recursion\-limit .PD Enables or disables a limit on the amount of recursion performed whilst demangling strings. Since the name mangling formats allow for an inifinite level of recursion it is possible to create strings whose decoding will exhaust the amount of stack space available on the host machine, triggering a memory fault. The limit tries to prevent this from happening by restricting recursion to 2048 levels of nesting. .Sp The default is for this limit to be enabled, but disabling it may be necessary in order to demangle truly complicated names. Note however that if the recursion limit is disabled then stack exhaustion is possible and any bug reports about such an event will be rejected. .Sp The \fB\-r\fP option is a synonym for the \&\fB\-\-no\-recurse\-limit\fP option. The \fB\-R\fP option is a synonym for the \fB\-\-recurse\-limit\fP option. .Sp Note this option is only effective if the \fB\-C\fP or \&\fB\-\-demangle\fP option has been enabled. .IP \fB@\fP\fItiedosto\fP 4 .IX Item @tiedosto Read command\-line options from \fIfile\fP. The options read are inserted in place of the original @\fIfile\fP option. If \fIfile\fP does not exist, or cannot be read, then the option will be treated literally, and not removed. .Sp Options in \fIfile\fP are separated by whitespace. A whitespace character may be included in an option by surrounding the entire option in either single or double quotes. Any character (including a backslash) may be included by prefixing the character to be included with a backslash. The \fIfile\fP may itself contain additional @\fIfile\fP options; any such options will be processed recursively. .SH "KATSO MYÖS" .IX Header "KATSO MYÖS" Info entries for \fIbinutils\fP. .SH TEKIJÄNOIKEUDET .IX Header TEKIJÄNOIKEUDET Copyright (c) 1991\-2020 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front\-Cover Texts, and with no Back\-Cover Texts. A copy of the license is included in the section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". .PP .SH KÄÄNNÖS Tämän käsikirjan suomenkielisen käännöksen tekivät Sami Louko . .PP Tämä käännös on ilmainen dokumentaatio; katso tekijänoikeusehdot .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License -versiosta 3 .UE tai uudemmasta. Emme ota vastuuta.