-
-
Save ZetaTwo/77b04ca3a920e392f876 to your computer and use it in GitHub Desktop.
Compile GDB with Python 2 for Peda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install python2.7-dev python2.7 | |
apt-get build-dep gdb | |
apt-get source gdb | |
cd gdb-7.9 | |
sed -i -E "s|python3|/usr/bin/python2.7|" debian/rules | |
dpkg-buildpackage -uc -us -j8 | |
dpkg-install ../*.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment