source: general/prog/gdb.xml@ ff0a4dc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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
Last change on this file since ff0a4dc was a55a187, checked in by Pierre Labastie <pieere@…>, 10 years ago

tags and initd-tools corrections

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12776 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.5 KB
RevLine 
[4b0ebf70]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY gdb-download-http "http://ftp.gnu.org/gnu/gdb/gdb-&gdb-version;.tar.bz2">
8 <!ENTITY gdb-download-ftp "ftp://ftp.gnu.org/gnu/gdb/gdb-&gdb-version;.tar.bz2">
[6cd96df]9 <!ENTITY gdb-md5sum "271a18f41858a7e98b28ae4eb91287c9">
[3c0ba9f]10 <!ENTITY gdb-size "24 MB">
[6cd96df]11 <!ENTITY gdb-buildsize "321 MB (559 MB with checks)">
12 <!ENTITY gdb-time "1.8 SBU (6.3 SBU with checks)">
[4b0ebf70]13]>
14
[d3970e1]15<sect1 id="gdb" xreflabel="GDB-&gdb-version;">
[4b0ebf70]16 <?dbhtml filename="gdb.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[d3970e1]23 <title>GDB-&gdb-version;</title>
[4b0ebf70]24
25 <indexterm zone="gdb">
[4890200]26 <primary sortas="a-GDB">GDB</primary>
[4b0ebf70]27 </indexterm>
28
29 <sect2 role="package">
[d3970e1]30 <title>Introduction to GDB</title>
31
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>
[4b0ebf70]40
[a55a187]41 &lfs75_checked;
[4b0ebf70]42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[4890200]46 <para>
47 Download (HTTP): <ulink url="&gdb-download-http;"/>
48 </para>
[4b0ebf70]49 </listitem>
50 <listitem>
[4890200]51 <para>
52 Download (FTP): <ulink url="&gdb-download-ftp;"/>
53 </para>
[4b0ebf70]54 </listitem>
55 <listitem>
[4890200]56 <para>
57 Download MD5 sum: &gdb-md5sum;
58 </para>
[4b0ebf70]59 </listitem>
60 <listitem>
[4890200]61 <para>
62 Download size: &gdb-size;
63 </para>
[4b0ebf70]64 </listitem>
65 <listitem>
[4890200]66 <para>
67 Estimated disk space required: &gdb-buildsize;
68 </para>
[4b0ebf70]69 </listitem>
70 <listitem>
[4890200]71 <para>
72 Estimated build time: &gdb-time;
73 </para>
[4b0ebf70]74 </listitem>
75 </itemizedlist>
76
[d3970e1]77 <bridgehead renderas="sect3">GDB Dependencies</bridgehead>
[d4c9b7c]78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <para role="optional">
[a55a187]81 <xref linkend="dejagnu"/> (for tests),
82 <xref linkend="expat"/> and
[4890200]83 <xref linkend="python2"/>
[d4c9b7c]84 </para>
85
[4b0ebf70]86 <para condition="html" role="usernotes">User Notes:
[d3970e1]87 <ulink url="&blfs-wiki;/gdb"/>
88 </para>
[4b0ebf70]89 </sect2>
90
91 <sect2 role="installation">
[d3970e1]92 <title>Installation of GDB</title>
[4b0ebf70]93
[d3970e1]94 <para>
95 Install <application>GDB</application> by running the following
96 commands:
97 </para>
[4b0ebf70]98
[a55a187]99<screen><userinput>./configure --prefix=/usr --with-system-readline &amp;&amp;
[4b0ebf70]100make</userinput></screen>
101
[d3970e1]102 <para>
103 To test the results, issue: <command>make -k check</command>.
104 </para>
[4b0ebf70]105
[d3970e1]106 <para>
107 Now, as the <systemitem class="username">root</systemitem> user:
108 </para>
[4b0ebf70]109
110<screen role="root"><userinput>make -C gdb install</userinput></screen>
111
112 </sect2>
[d3970e1]113
[4b0ebf70]114 <sect2 role="content">
115 <title>Contents</title>
116
117 <segmentedlist>
118 <segtitle>Installed Programs</segtitle>
119 <segtitle>Installed Library</segtitle>
120 <segtitle>Installed Directories</segtitle>
121
122 <seglistitem>
[4890200]123 <seg>
[6cd96df]124 gcore, gdb and gdbserver
[4890200]125 </seg>
126 <seg>
127 libinproctrace.so
128 </seg>
129 <seg>
130 /usr/include/gdb and
131 /usr/share/gdb
132 </seg>
[4b0ebf70]133 </seglistitem>
134 </segmentedlist>
135
136 <variablelist>
137 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
138 <?dbfo list-presentation="list"?>
139 <?dbhtml list-presentation="table"?>
140
[a55a187]141 <varlistentry id="gcore">
142 <term><command>gcore</command></term>
143 <listitem>
144 <para>
145 generates a core dump of a running program.
146 </para>
147 <indexterm zone="gdb gcore">
148 <primary sortas="b-gcore">gcore</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
[4b0ebf70]153 <varlistentry id="gdb-prog">
154 <term><command>gdb</command></term>
155 <listitem>
[d3970e1]156 <para>
157 is the GNU Debugger.
158 </para>
[4b0ebf70]159 <indexterm zone="gdb gdb-prog">
160 <primary sortas="b-gdb-prog">gdb-prog</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="gdbserver">
166 <term><command>gdbserver</command></term>
167 <listitem>
[d3970e1]168 <para>
[4890200]169 is a remote server for the GNU debugger (it allows programs
170 to be debugged from a different machine).
[d3970e1]171 </para>
[4b0ebf70]172 <indexterm zone="gdb gdbserver">
173 <primary sortas="b-gdbserver">gdbserver</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="libinproctrace">
[4890200]179 <term><filename class="libraryfile">libinproctrace.so</filename></term>
[4b0ebf70]180 <listitem>
[d3970e1]181 <para>
182 contains functions for the in-process tracing agent. The agent
183 allows for installing fast tracepoints, listing static tracepoint
184 markers, probing static tracepoints markers, and starting trace
185 monitoring.
186 </para>
[4b0ebf70]187 <indexterm zone="gdb libinproctrace">
188 <primary sortas="c-libinproctrace">libinproctrace.so</primary>
189 </indexterm>
190 </listitem>
[d3970e1]191 </varlistentry>
[4b0ebf70]192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.