source: general/prog/gdb.xml@ 2d1ea57b

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 2d1ea57b was 4b0ebf70, checked in by Ken Moffat <ken@…>, 12 years ago

Add gdb.

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

  • Property mode set to 100644
File size: 5.0 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 "b89a5fac359c618dda97b88645ceab47">
10 <!ENTITY gdb-size "19 MB">
11 <!ENTITY gdb-buildsize "369 MB">
12 <!ENTITY gdb-time "1.5 SBU">
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 &lfs70_built;
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 <para condition="html" role="usernotes">User Notes:
61 <ulink url="&blfs-wiki;/gdb"/></para>
62
63 </sect2>
64
65 <sect2 role="installation">
66 <title>Installation of gdb</title>
67
68 <para>Install <application>gdb</application> by running the following
69 commands:</para>
70
71<screen><userinput>./configure --prefix=/usr \
72 --disable-werror &amp;&amp;
73make</userinput></screen>
74
75 <para>To test the results, issue: <command>make check</command>.</para>
76
77 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
78
79<screen role="root"><userinput>make -C gdb install</userinput></screen>
80
81 </sect2>
82
83 <sect2 role="commands">
84 <title>Command Explanations</title>
85
86 <para><command>--disable-werror</command>: Recent versions of
87 <application>gcc</application> generate warnings for a lot more
88 <emphasis>possible</emphasis> errors. Because the <filename>Makefile</filename>
89 uses the <literal>-Werror</literal> switch by default (to treat warnings as
90 errors), this override is needed to allow the package to compile.</para>
91
92 </sect2>
93
94 <sect2 role="content">
95 <title>Contents</title>
96
97 <segmentedlist>
98 <segtitle>Installed Programs</segtitle>
99 <segtitle>Installed Library</segtitle>
100 <segtitle>Installed Directories</segtitle>
101
102 <seglistitem>
103 <seg>gdb, gdbserver, and gdbtui</seg>
104 <seg>libinproctrace.so</seg>
105 <seg>/usr/share/gdb/{python/gdb/command,syscalls}</seg>
106 </seglistitem>
107 </segmentedlist>
108
109 <variablelist>
110 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
111 <?dbfo list-presentation="list"?>
112 <?dbhtml list-presentation="table"?>
113
114 <varlistentry id="gdb-prog">
115 <term><command>gdb</command></term>
116 <listitem>
117 <para>is the GNU Debugger.</para>
118 <indexterm zone="gdb gdb-prog">
119 <primary sortas="b-gdb-prog">gdb-prog</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="gdbserver">
125 <term><command>gdbserver</command></term>
126 <listitem>
127 <para>is a remote server for the GNU debugger (it allows programs to be
128 debugged from a different machine).</para>
129 <indexterm zone="gdb gdbserver">
130 <primary sortas="b-gdbserver">gdbserver</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="gdbtui">
136 <term><command>gdbtui</command></term>
137 <listitem>
138 <para>is a text user interface for <application>gdb</application>.</para>
139 <indexterm zone="gdb gdbtui">
140 <primary sortas="b-gdbtui">gdbtui</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <!-- commenting, unless anyone feels able to describe this.
146 <varlistentry id="libinproctrace">
147 <term><filename class='libraryfile'>libinproctrace.so</filename></term>
148 <listitem>
149 <para>contains functions that .....</para>
150 <indexterm zone="gdb libinproctrace">
151 <primary sortas="c-libinproctrace">libinproctrace.so</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry> -->
155
156 </variablelist>
157
158 </sect2>
159
160</sect1>
Note: See TracBrowser for help on using the repository browser.