This post has already been read 4603 times!

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 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

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

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

Leave a Reply

Post Navigation