Trying to install gdb-peda, but am having issues compiling gdb with python 2 support instead of python 3 support. I have
python-dev for 2.7, build-dep nmon, and libncurses5-dev
installed. I installed gdb-peda before I uninstalled and subsequently compiled gdb.
~/gdb-7.8$ ./configure --with-python ~/gdb-7.8$ make all ~/gdb-7.8$ sudo make install
GDB installs without errors (after I installed the necessary libraries), but when I run it I get:
Traceback (most recent call last): File "~/peda/peda.py", line 23, in <module> Exception: Python3 is not supported at the moment, downgrade you GDB or recompile with Python2!
This is the same error I got before I reinstalled gdb.