How to upgrade my GDB debugger from the current version which is 7.7 to the next version which is 7.8, Also I'm working on Ubuntu 14.04.1?
Ubuntu – Upgrade from gdb 7.7 to 7.8
gdb
gdb
How to upgrade my GDB debugger from the current version which is 7.7 to the next version which is 7.8, Also I'm working on Ubuntu 14.04.1?
Best Answer
gdb 7.8 is currently not available in trusty repo. But you can install it from the source.
Open terminal and type following commands
It will install
gdb
in/usr/local/bin/
directory. As/usr/local/bin/
is searched before/usr/bin/
whenever a command is executed, runninggdb
will executegdb 7.8
.Once installed, you can check gdb version using
It should output
If you want to uninstall it simply remove
gdb
from/usr/local/bin/
by executing