# Exit on error:
set -e

wget http://ftpmirror.gnu.org/gdb/gdb-7.6.1.tar.bz2
tar xf gdb-7.6.1.tar.bz2
cd gdb-7.6.1

./configure \
    --prefix=/usr

make
make install

cd ..
exit 0
