直接上原图:
使用命令:cgdb test test.core.2235
安装cgdb程序步骤:
1:wget http://cgdb.me/files/cgdb-0.7.1.tar.gz(网络会受到影响)
2:解压.tar.gz文件
3:./configure --prefix=/usr/local之后会提示 error: CGDB requires curses.h or ncurses/curses.h to build错误 请执行:yum install ncurses-devel -y
4:./configure --prefix=/usr/local再次执行此命令,之后会提示:error: Please install flex before installing错误 请执行yum install flex -y
5:./configure --prefix=/usr/local再次执行此命令,之后会提示:error: Please install makeinfo before installing 请执行yum install texinfo -y
6:./configure --prefix=/usr/local再次执行此命令 之后会提示 error: CGDB requires GNU readline 5.1 or greater to link.请执行 yum install readline-devel -y
7:./configure --prefix=/usr/local再次执行此命令 之后make&&make install