gdb調試文件,運行提示沒有那個文件。
報錯During startup program exited with code 127.
![解決gdb運行文件報錯During startup program exited with co<wbr>de 127. - 晚柒 - wanqis garden](http://static.javashuo.com/static/loading.gif)
查找資料發現是由於文件是32位的,而使用的linux是64位,/lib/ld-linux.so.2 不支持32位文件。
解決方法:
sudo apt-get install libc6:i386
![解決gdb運行文件報錯During startup program exited with co<wbr>de 127. - 晚柒 - wanqis garden](http://static.javashuo.com/static/loading.gif)
sudo apt-get install libc6:i386