1. 程式人生 > >centos gdb除錯報錯

centos gdb除錯報錯

報錯資訊:Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.212.el6.x86_64 libgcc-4.4.7-23.el6.x86_64
解決方法:

  1. 修改修改/etc/yum.repos.d/CentOS-Debuginfo.repo裡面的debuginfo目錄中enabled=1
  2. yum install nss-softokn-debuginfo --nogpgcheck

reference:
[1] https://blog.csdn.net/hanglinux/article/details/16811347