Eu tentei instalar a última versão do gdb(7.8) no Ubuntu. Mas, de alguma forma, ld (part of binutil) de gdb package não é suportado por ubuntu 14.04 . Então eu tenho que desinstalá-lo. Mas não há script gdb uninstall. Então eu fiz o seguinte:
Step 1: edit /etc/environment and move /usr/local/bin to then end of the line. I let the system to load /usr/bin first.
Step 2: update path: source /etc/environment
Step 3: remove gdb files: sudo rm -rf /usr/local/bin/gdb* /usr/local/bin/ld
Step 4: re-install binutils: sudo apt-get install --reinstall binutils