Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.47.el6_2.9.i686 libgcc-4.4.6-3.el6.i686 libstdc++-4.4.6-3.el6.i686

后端 未结 3 1638
粉色の甜心
粉色の甜心 2020-12-02 07:47

CentOS 6.2 + GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)

When I debug a simple c++ code with GDB, I saw the following warning:

Missing separa         


        
3条回答
  •  悲哀的现实
    2020-12-02 08:16

    debuginfo-install is a command of yum-utils, so

    1. yum install yum-utils
    2. debuginfo-install glibc
    3. if the warning's still there, edit /etc/yum.repos.d/CentOS-Debuginfo.repo, set enabled=1

提交回复
热议问题