gdb-7.3.1

Introduction to gdb

GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.

This package is known to build using an LFS 7.0 platform but has not been tested.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gdb

Installation of gdb

Install gdb by running the following commands:

./configure --prefix=/usr \
            --disable-werror &&
make

To test the results, issue: make check.

Now, as the root user:

make -C gdb install

Command Explanations

--disable-werror: Recent versions of gcc generate warnings for a lot more possible errors. Because the Makefile uses the -Werror switch by default (to treat warnings as errors), this override is needed to allow the package to compile.

Contents

Installed Programs: gdb, gdbserver, and gdbtui
Installed Library: libinproctrace.so
Installed Directories: /usr/share/gdb/{python/gdb/command,syscalls}

Short Descriptions

gdb

is the GNU Debugger.

gdbserver

is a remote server for the GNU debugger (it allows programs to be debugged from a different machine).

gdbtui

is a text user interface for gdb.

Last updated on 2012-01-27 18:05:39 +0000