source: general/prog/gdb.xml@ 8aeb474

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
Last change on this file since 8aeb474 was ca55cfe, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to gdb-7.5

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

  • Property mode set to 100644
File size: 5.3 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 "24a6779a9fe0260667710de1b082ef61">
10 <!ENTITY gdb-size "20 MB">
11 <!ENTITY gdb-buildsize "314 MB (444 MB with checks)">
12 <!ENTITY gdb-time "1.9 SBU (5.9 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><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>
35
36 &lfs72_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&gdb-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&gdb-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &gdb-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &gdb-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &gdb-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &gdb-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">gdb Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
63 <para role="optional">
64 <xref linkend="dejagnu"/> (for tests)
65 </para>
66
67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/gdb"/></para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of gdb</title>
74
75 <para>Install <application>gdb</application> by running the following
76 commands:</para>
77
78<screen><userinput>./configure --prefix=/usr &amp;&amp;
79make</userinput></screen>
80
81 <para>To test the results, issue: <command>make check</command>.</para>
82
83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
84
85<screen role="root"><userinput>make -C gdb install</userinput></screen>
86
87 </sect2>
88<!--
89 <sect2 role="commands">
90 <title>Command Explanations</title>
91
92 <para><command>- -disable-werror</command>: Recent versions of
93 <application>gcc</application> generate warnings for a lot more
94 <emphasis>possible</emphasis> errors. Because the <filename>Makefile</filename>
95 uses the <literal>-Werror</literal> switch by default (to treat warnings as
96 errors), this override is needed to allow the package to compile.</para>
97
98 </sect2>
99-->
100 <sect2 role="content">
101 <title>Contents</title>
102
103 <segmentedlist>
104 <segtitle>Installed Programs</segtitle>
105 <segtitle>Installed Library</segtitle>
106 <segtitle>Installed Directories</segtitle>
107
108 <seglistitem>
109 <seg>gdb, gdbserver, and gdbtui</seg>
110 <seg>libinproctrace.so</seg>
111 <seg>/usr/share/gdb/{python/gdb/command,syscalls}</seg>
112 </seglistitem>
113 </segmentedlist>
114
115 <variablelist>
116 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
117 <?dbfo list-presentation="list"?>
118 <?dbhtml list-presentation="table"?>
119
120 <varlistentry id="gdb-prog">
121 <term><command>gdb</command></term>
122 <listitem>
123 <para>is the GNU Debugger.</para>
124 <indexterm zone="gdb gdb-prog">
125 <primary sortas="b-gdb-prog">gdb-prog</primary>
126 </indexterm>
127 </listitem>
128 </varlistentry>
129
130 <varlistentry id="gdbserver">
131 <term><command>gdbserver</command></term>
132 <listitem>
133 <para>is a remote server for the GNU debugger (it allows programs to be
134 debugged from a different machine).</para>
135 <indexterm zone="gdb gdbserver">
136 <primary sortas="b-gdbserver">gdbserver</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
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 <varlistentry id="libinproctrace">
153 <term><filename class='libraryfile'>libinproctrace.so</filename></term>
154 <listitem>
155 <para>contains functions that .....</para>
156 <indexterm zone="gdb libinproctrace">
157 <primary sortas="c-libinproctrace">libinproctrace.so</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry> -->
161
162 </variablelist>
163
164 </sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.