source: general/prog/gdb.xml@ 56605b9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 56605b9 was 56605b9, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Remove XML::Parser from perl modules
Archive acl, attr, intltool, expat, gperf
Synchronize libcap with LFS.

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

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