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.
Download (HTTP): http://ftp.gnu.org/gnu/gdb/gdb-7.3.1.tar.bz2
Download (FTP): ftp://ftp.gnu.org/gnu/gdb/gdb-7.3.1.tar.bz2
Download MD5 sum: b89a5fac359c618dda97b88645ceab47
Download size: 19 MB
Estimated disk space required: 369 MB
Estimated build time: 1.5 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
--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.
Last updated on 2012-01-27 18:05:39 +0000