https://ftp.gnu.org/gnu/gdb/gdb-10.1.tar.xz
使用的gdb10.1版本,编译报错
1、error: no termcap library found
2、error: makeinfo is required for compilation
参考
https://blog.csdn.net/tiger15605353603/article/details/81296312
解决办法:
sudo apt-get install texinfo
sudo apt-get install libncurses5-dev
sudo apt-get install m4
sudo apt-get install flex
sudo apt-get install bison