MEMO
Ubuntu 14 버전에서 peda 설치 에러
goldpapa
2016. 3. 21. 21:32
git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py" >> ~/.gdbinit
echo "DONE! debug your program with gdb and enjoy"
sudo apt-get remove gdb wget http://security.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_7.4-2012.02-0ubuntu2_i386.deb sudo dpkg -i ./gdb_7.4-2012.02-0ubuntu2_i386.deb |
sudo apt-get remove gdb wget http://security.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_7.4-2012.02-0ubuntu2_amd64.deb sudo dpkg -i ./gdb_7.4-2012.02-0ubuntu2_amd64.deb |
### 참조
http://askubuntu.com/questions/548435/trouble-compiling-gdb-with-python-2-7-support-for-gdb-peda (힌트)
https://github.com/longld/peda (다운로드)
https://hwchen18546.wordpress.com/2014/12/17/linux-install-gdb-peda-in-ubuntu-14-04/ (원리)