Reputation: 133
While learning debugging,I somehow went into installing gdb and then gdb-peda.But now, I would like to uninstall gdb-peda.Can anyone pls guide me ?
Upvotes: 5
Views: 11303
Reputation: 1034
Actually peda-gdb doesn't really install any executable in your computer.
All the peda-gdb does is to modify the config file of gdb. This file is by default located at ~/.gdbinit.
use cat ~/.gdbinit
can you peek how does peda do
Therefore, to go back to vanilla gdb, there are 2 solutions
gdb --nx
rm -rf ~/.gdbinit
Upvotes: 13
Reputation: 21
You can remove the Peda folder, should be somewhere in your Home directory. After that you should have your old gdb back.
Upvotes: 2