⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpsym.html

📁 debug source code under unix platform.
💻 HTML
字号:
Content-type: text/html<HTML><HEAD><TITLE>Manpage of MPSYM</TITLE></HEAD><BODY><H1>MPSYM</H1>Section: mpatrol library (1)<BR>Updated: 8 January 2002<BR><A HREF="#index">Index</A><A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR><A NAME="lbAB">&nbsp;</A><H2>NAME</H2>mpsym - locates missing symbolic information in an mpatrol log file<A NAME="lbAC">&nbsp;</A><H2>SYNOPSIS</H2><B>mpsym</B> [<I>options</I>] [<I>progfile</I> [<I>logfile</I>]]<A NAME="lbAD">&nbsp;</A><H2>DESCRIPTION</H2>The <B>mpsym</B> command is used to parse a log file produced by the mpatrollibrary and uses a debugger to append symbol names and source level informationto code addresses in stack tracebacks.  This should be used if the<B>USEDEBUG</B> option is not supported on a particular platform or does not workproperly with a specific program.  It will replace all existing symbols andsource level information associated with the stack tracebacks in the mpatrol logfile and will display the resulting log file on the standard output file stream.<P>The <I>progfile</I> argument must be the filename of the executable file thatproduced the mpatrol log file but if <I>progfile</I> is omitted then <B>mpsym</B>will use <I>a.out</I> as the name of the executable file to use.  The <B>mpsym</B>command will read the symbol table and debugging sections from this file inorder to map the code addresses that appear in the mpatrol log file into symbolnames and source level information.  If the executable file does not contain asymbol table then no symbol names will be available and if it does not containthe appropriate debugging sections then no source level information will beavailable either.  Obviously, if the executable file is not the same as the onethat created the mpatrol log file then the final output will be wrong.<P>The <I>logfile</I> argument must be a valid mpatrol log filename but if<I>logfile</I> is omitted then <B>mpsym</B> will use <I>mpatrol.log</I> as thename of the log file to use, or <I>progfile.log</I> if it can't find that.  The<B>mpsym</B> command makes two passes over the log file so the file must berandomly-accessable.<P>The <B>mpsym</B> command currently uses <B>gdb</B> as the debugger with which toobtain the additional information about the code addresses in the mpatrol logfile.  It also makes use of several UNIX text processing commands, including<B>perl</B> if it is installed, in order to extract information from thedebugger's output and from the log file.  As a result, the <B>mpsym</B> commandis only likely to work on UNIX platforms or on systems which have the necessarycommands installed.<A NAME="lbAE">&nbsp;</A><H2>OPTIONS</H2><DL COMPACT><DT><B>--help</B> [<B>-h</B>]<DD>Displays a quick-reference option summary.<DT><B>--skip</B> [<B>-s</B>]<DD>Skip symbols marked as <I>???</I> in the log file.<DT><B>--version</B> [<B>-V</B>]<DD>Displays the version number of the <B>mpsym</B> command.</DL><A NAME="lbAF">&nbsp;</A><H2>SEE ALSO</H2><B><A HREF="http://localhost/cgi-bin/man/man2html?1+mpatrol">mpatrol</A></B>(1), <B><A HREF="http://localhost/cgi-bin/man/man2html?1+mprof">mprof</A></B>(1), <B><A HREF="http://localhost/cgi-bin/man/man2html?1+mptrace">mptrace</A></B>(1), <B><A HREF="http://localhost/cgi-bin/man/man2html?1+mleak">mleak</A></B>(1),<B><A HREF="http://localhost/cgi-bin/man/man2html?1+mpedit">mpedit</A></B>(1), <B><A HREF="http://localhost/cgi-bin/man/man2html?1+hexwords">hexwords</A></B>(1), <B><A HREF="http://localhost/cgi-bin/man/man2html?1+gdb">gdb</A></B>(1), <B><A HREF="http://localhost/cgi-bin/man/man2html?1+perl">perl</A></B>(1),<B><A HREF="http://localhost/cgi-bin/man/man2html?3+libmpatrol">libmpatrol</A></B>(3), <B><A HREF="http://localhost/cgi-bin/man/man2html?3+libmpalloc">libmpalloc</A></B>(3).<P>The mpatrol manual and reference card.<P><A HREF="http://www.cbmamiga.demon.co.uk/mpatrol/">http://www.cbmamiga.demon.co.uk/mpatrol/</A><A NAME="lbAG">&nbsp;</A><H2>AUTHOR</H2>Graeme S. Roy &lt;<A HREF="mailto:graeme.roy@analog.com">graeme.roy@analog.com</A>&gt;<A NAME="lbAH">&nbsp;</A><H2>COPYRIGHT</H2>Copyright (C) 1997-2002 Graeme S. Roy &lt;<A HREF="mailto:graeme.roy@analog.com">graeme.roy@analog.com</A>&gt;<P>This library is free software; you can redistribute it and/or modify it underthe terms of the GNU Library General Public License as published by the FreeSoftware Foundation; either version 2 of the License, or (at your option) anylater version.<P>This library is distributed in the hope that it will be useful, but WITHOUTANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESSFOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for moredetails.<P>You should have received a copy of the GNU Library General Public Licensealong with this library; if not, write to the Free Software Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.<P><HR><A NAME="index">&nbsp;</A><H2>Index</H2><DL><DT><A HREF="#lbAB">NAME</A><DD><DT><A HREF="#lbAC">SYNOPSIS</A><DD><DT><A HREF="#lbAD">DESCRIPTION</A><DD><DT><A HREF="#lbAE">OPTIONS</A><DD><DT><A HREF="#lbAF">SEE ALSO</A><DD><DT><A HREF="#lbAG">AUTHOR</A><DD><DT><A HREF="#lbAH">COPYRIGHT</A><DD></DL><HR>This document was created by<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,using the manual pages.<BR>Time: 23:42:08 GMT, January 08, 2002</BODY></HTML>

⌨️ 快捷键说明

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