addr2line.1

来自「基于4个mips核的noc设计」· 1 代码 · 共 504 行 · 第 1/2 页

1
504
字号
.\" Copyright (c) 1997, 2000 Free Software Foundation.\" See COPYING for conditions for redistribution.TH addr2line 1 "27 March 1997" "Free Software Foundation" "GNU Development Tools".de BP.sp.ti \-.2i\(**...SH NAMEaddr2line \- convert addresses into file names and line numbers.SH SYNOPSIS.hy 0.na.TP.B addr2line.RB "[\|" "\-b\ "\c.I bfdname\c.RB " | " "\-\-target="\c.I bfdname\c\&\|].RB "[\|" \-C | \-\-demangle "\|]".RB "[\|" "\-e\ "\c.I filename\c.RB " | " "\-\-exe="\c.I filename\c\&\|].RB "[\|" \-f | \-\-functions "\|]".RB "[\|" \-s | \-\-basenames "\|]".RB "[\|" \-H | \-\-help "\|]".RB "[\|" \-V | \-\-version "\|]".RB "[\|" addr addr ...  "\|]".ad b.hy 1.SH DESCRIPTION\c.B addr2linetranslates program addresses into file names and line numbers.  Givenan address and an executable, it uses the debugging information in theexecutable to figure out which file name and line number areassociated with a given address.The executable to use is specified with the.B \-eoption.  The default is.B a.out\c\&..B addr2linehas two modes of operation.In the first, hexadecimal addresses are specified on the command line,and.B addr2linedisplays the file name and line number for each address.In the second,.B addr2linereads hexadecimal addresses from standard input, and prints the filename and line number for each address on standard output.  In thismode,.B addr2linemay be used in a pipe to convert dynamically chosen addresses.The format of the output is FILENAME:LINENO.  The file name and linenumber for each address is printed on a separate line.  If the.B \-foption is used, then each FILENAME:LINENO line is preceded by aFUNCTIONNAME line which is the name of the function containing theaddress.If the file name or function name can not be determined,.B addr2linewill print two question marks in their place.  If the line number cannot be determined,.B addr2linewill print 0..SH OPTIONS.TP.BI "\-b " "bfdname"\c.TP.BI "\-\-target=" "bfdname"Specify the object-code format for the object files to be\c.I bfdname\c\&..TP.B \-C.TP.B \-\-demangleDecode (\fIdemangle\fP) low-level symbol names into user-level names.Besides removing any initial underscore prepended by the system, thismakes C++ function names readable..TP.BI "\-e " "filename"\c.TP.BI "\-\-exe=" "filename"Specify the name of the executable for which addresses should betranslated.  The default file is.B a.out\c\&..TP.B \-f.TP.B \-\-functionsDisplay function names as well as file and line number information..TP.B \-s.TP.B \-\-basenamesDisplay only the base of each file name..SH "SEE ALSO".RB "`\|" binutils "\|'"entry in .Binfo\c\&; .IThe GNU Binary Utilities\c\&, Roland H. Pesch (October 1991)..SH COPYINGCopyright (c) 1993, 94, 95, 96, 97, 98, 1999, 2000 Free Software Foundation, Inc..PPThis document is distributed under the terms of the GNU FreeDocumentation License, version 1.1.  That license is described in thesources for this manual page, but it is not displayed here in order tomake this manual more consise.  Copies of this license can also beobtained from: http://www.gnu.org/copyleft/.\"  .SH GNU Free Documentation License\"    Version 1.1, March 2000\"    Copyright (C) 2000  Free Software Foundation, Inc.\"    59 Temple Place, Suite 330, Boston, MA  02111-1307  USA     \"    Everyone is permitted to copy and distribute verbatim\"    copies of this license document, but changing it is\"    not allowed.\"  .PP\"  0. PREAMBLE\"  .PP\"  The purpose of this License is to make a manual, textbook, or other\"  written document "free" in the sense of freedom: to assure everyone\"  the effective freedom to copy and redistribute it, with or without\"  modifying it, either commercially or noncommercially.  Secondarily,\"  this License preserves for the author and publisher a way to get\"  credit for their work, while not being considered responsible for\"  modifications made by others.\"  .PP\"  This License is a kind of "copyleft", which means that derivative\"  works of the document must themselves be free in the same sense.  It\"  complements the GNU General Public License, which is a copyleft\"  license designed for free software.\"  .PP\"  We have designed this License in order to use it for manuals for free\"  software, because free software needs free documentation: a free\"  program should come with manuals providing the same freedoms that the\"  software does.  But this License is not limited to software manuals;\"  it can be used for any textual work, regardless of subject matter or\"  whether it is published as a printed book.  We recommend this License\"  principally for works whose purpose is instruction or reference.\"  .PP\"  1. APPLICABILITY AND DEFINITIONS\"  .PP\"  This License applies to any manual or other work that contains a\"  notice placed by the copyright holder saying it can be distributed\"  under the terms of this License.  The "Document", below, refers to any\"  such manual or work.  Any member of the public is a licensee, and is\"  addressed as "you".\"  .PP\"  A "Modified Version" of the Document means any work containing the\"  Document or a portion of it, either copied verbatim, or with\"  modifications and/or translated into another language.\"  .PP\"  A "Secondary Section" is a named appendix or a front-matter section of\"  the Document that deals exclusively with the relationship of the\"  publishers or authors of the Document to the Document's overall subject\"  (or to related matters) and contains nothing that could fall directly\"  within that overall subject.  (For example, if the Document is in part a\"  textbook of mathematics, a Secondary Section may not explain any\"  mathematics.)  The relationship could be a matter of historical\"  connection with the subject or with related matters, or of legal,\"  commercial, philosophical, ethical or political position regarding\"  them.\"  .PP\"  The "Invariant Sections" are certain Secondary Sections whose titles\"  are designated, as being those of Invariant Sections, in the notice\"  that says that the Document is released under this License.\"  .PP\"  The "Cover Texts" are certain short passages of text that are listed,\"  as Front-Cover Texts or Back-Cover Texts, in the notice that says that\"  the Document is released under this License.\"  .PP\"  A "Transparent" copy of the Document means a machine-readable copy,\"  represented in a format whose specification is available to the\"  general public, whose contents can be viewed and edited directly and\"  straightforwardly with generic text editors or (for images composed of\"  pixels) generic paint programs or (for drawings) some widely available\"  drawing editor, and that is suitable for input to text formatters or\"  for automatic translation to a variety of formats suitable for input\"  to text formatters.  A copy made in an otherwise Transparent file\"  format whose markup has been designed to thwart or discourage\"  subsequent modification by readers is not Transparent.  A copy that is\"  not "Transparent" is called "Opaque".\"  .PP\"  Examples of suitable formats for Transparent copies include plain\"  ASCII without markup, Texinfo input format, LaTeX input format, SGML\"  or XML using a publicly available DTD, and standard-conforming simple\"  HTML designed for human modification.  Opaque formats include\"  PostScript, PDF, proprietary formats that can be read and edited only\"  by proprietary word processors, SGML or XML for which the DTD and/or\"  processing tools are not generally available, and the\"  machine-generated HTML produced by some word processors for output\"  purposes only.\"  .PP\"  The "Title Page" means, for a printed book, the title page itself,\"  plus such following pages as are needed to hold, legibly, the material\"  this License requires to appear in the title page.  For works in\"  formats which do not have any title page as such, "Title Page" means\"  the text near the most prominent appearance of the work's title,\"  preceding the beginning of the body of the text.\"  .PP\"  2. VERBATIM COPYING\"  .PP\"  You may copy and distribute the Document in any medium, either\"  commercially or noncommercially, provided that this License, the\"  copyright notices, and the license notice saying this License applies\"  to the Document are reproduced in all copies, and that you add no other\"  conditions whatsoever to those of this License.  You may not use\"  technical measures to obstruct or control the reading or further\"  copying of the copies you make or distribute.  However, you may accept\"  compensation in exchange for copies.  If you distribute a large enough\"  number of copies you must also follow the conditions in section 3.\"  .PP\"  You may also lend copies, under the same conditions stated above, and\"  you may publicly display copies.\"  .PP\"  3. COPYING IN QUANTITY\"  .PP\"  If you publish printed copies of the Document numbering more than 100,\"  and the Document's license notice requires Cover Texts, you must enclose\"  the copies in covers that carry, clearly and legibly, all these Cover\"  Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on\"  the back cover.  Both covers must also clearly and legibly identify

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?