http://www.gnu.org/software/gdb/
http://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
[[http://kratz00.org/files/gdb-7.2-use_installed_readline.patch|gdb-7.2-use_installed_readline.patch]]
Compile the package:
rm -rf readline &&
patch -p1 -i ../gdb-7.2-use_installed_readline.patch &&
mkdir gdb-build &&
cd gdb-build &&
$PWD/../configure --prefix=/usr &&
make
Install the package
make -C gdb install
make -C gdb install is used to only install the gdb files. If the -C gdb switch is not used, files from this package will overwrite system files installed from binutils.