Changeset d3970e1 for general/prog/gdb.xml
- Timestamp:
- 03/03/2013 04:59:09 PM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- af373d35
- Parents:
- fdb847da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/gdb.xml
rfdb847da rd3970e1 13 13 ]> 14 14 15 <sect1 id="gdb" xreflabel=" gdb-&gdb-version;">15 <sect1 id="gdb" xreflabel="GDB-&gdb-version;"> 16 16 <?dbhtml filename="gdb.html"?> 17 17 … … 21 21 </sect1info> 22 22 23 <title> gdb-&gdb-version;</title>23 <title>GDB-&gdb-version;</title> 24 24 25 25 <indexterm zone="gdb"> … … 28 28 29 29 <sect2 role="package"> 30 <title>Introduction to gdb</title>30 <title>Introduction to GDB</title> 31 31 32 <para><application>GDB</application>, the GNU Project debugger, allows you 33 to see what is going on `inside' another program while it executes -- or 34 what another program was doing at the moment it crashed.</para> 32 <para> 33 <application>GDB</application>, the GNU Project debugger, allows you 34 to see what is going on <quote>inside</quote> another program while it 35 executes -- or what another program was doing at the moment it crashed. 36 Note that <application>GDB</application> is most effective when tracing 37 programs and libraries that were built with debugging symbols and not 38 stripped. 39 </para> 35 40 36 41 &lfs72_checked; … … 58 63 </itemizedlist> 59 64 60 <bridgehead renderas="sect3"> gdbDependencies</bridgehead>65 <bridgehead renderas="sect3">GDB Dependencies</bridgehead> 61 66 62 67 <bridgehead renderas="sect4">Optional</bridgehead> … … 66 71 67 72 <para condition="html" role="usernotes">User Notes: 68 <ulink url="&blfs-wiki;/gdb"/></para> 73 <ulink url="&blfs-wiki;/gdb"/> 74 </para> 69 75 70 76 </sect2> 71 77 72 78 <sect2 role="installation"> 73 <title>Installation of gdb</title>79 <title>Installation of GDB</title> 74 80 75 <para>Install <application>gdb</application> by running the following 76 commands:</para> 81 <para> 82 Install <application>GDB</application> by running the following 83 commands: 84 </para> 77 85 78 86 <screen><userinput>./configure --prefix=/usr && 79 87 make</userinput></screen> 80 88 81 <para>To test the results, issue: <command>make check</command>.</para> 89 <para> 90 To test the results, issue: <command>make -k check</command>. 91 </para> 82 92 83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 93 <para> 94 Now, as the <systemitem class="username">root</systemitem> user: 95 </para> 84 96 85 97 <screen role="root"><userinput>make -C gdb install</userinput></screen> 86 98 87 99 </sect2> 100 88 101 <!-- 89 102 <sect2 role="commands"> … … 98 111 </sect2> 99 112 --> 113 100 114 <sect2 role="content"> 101 115 <title>Contents</title> … … 107 121 108 122 <seglistitem> 109 <seg>gdb , gdbserver, and gdbtui</seg>123 <seg>gdb and gdbserver</seg> 110 124 <seg>libinproctrace.so</seg> 111 <seg>/usr/share/gdb/{python/gdb/command,syscalls}</seg> 125 <seg>/usr/include/gdb, /usr/share/gdb, and 126 /usr/share/doc/gdb-&gdb-version;</seg> 112 127 </seglistitem> 113 128 </segmentedlist> … … 121 136 <term><command>gdb</command></term> 122 137 <listitem> 123 <para>is the GNU Debugger.</para> 138 <para> 139 is the GNU Debugger. 140 </para> 124 141 <indexterm zone="gdb gdb-prog"> 125 142 <primary sortas="b-gdb-prog">gdb-prog</primary> … … 131 148 <term><command>gdbserver</command></term> 132 149 <listitem> 133 <para>is a remote server for the GNU debugger (it allows programs to be 134 debugged from a different machine).</para> 150 <para> 151 is a remote server for the GNU debugger (it allows programs to be 152 debugged from a different machine). 153 </para> 135 154 <indexterm zone="gdb gdbserver"> 136 155 <primary sortas="b-gdbserver">gdbserver</primary> … … 139 158 </varlistentry> 140 159 141 <varlistentry id="gdbtui">142 <term><command>gdbtui</command></term>143 <listitem>144 <para>is a text user interface for <application>gdb</application>.</para>145 <indexterm zone="gdb gdbtui">146 <primary sortas="b-gdbtui">gdbtui</primary>147 </indexterm>148 </listitem>149 </varlistentry>150 151 <!-- commenting, unless anyone feels able to describe this.152 160 <varlistentry id="libinproctrace"> 153 161 <term><filename class='libraryfile'>libinproctrace.so</filename></term> 154 162 <listitem> 155 <para>contains functions that .....</para> 163 <para> 164 contains functions for the in-process tracing agent. The agent 165 allows for installing fast tracepoints, listing static tracepoint 166 markers, probing static tracepoints markers, and starting trace 167 monitoring. 168 </para> 156 169 <indexterm zone="gdb libinproctrace"> 157 170 <primary sortas="c-libinproctrace">libinproctrace.so</primary> 158 171 </indexterm> 159 172 </listitem> 160 </varlistentry> -->173 </varlistentry> 161 174 162 175 </variablelist>
Note:
See TracChangeset
for help on using the changeset viewer.