Created
April 1, 2015 10:23
-
-
Save posquit0/93200f7ca1ad3d0c943c to your computer and use it in GitHub Desktop.
GDB with Python 2.7 in Ubuntu
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-* | |
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