Gdb debug report Missing separate debuginfos
At the beginning of gdb debugging, an error is reported and the message is as follows:
Detaching after fork from child process 4112.
Program exited normally.
Missing separate debuginfos Use: debuginfo-install cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 glibc-2.12-1.149.el6_6.5.x86_64 nspr-4.10.6-1.el6_5.x86_64 nss-3.14.0.0-12.el6.x86_64 nss-softokn-freebl-3.14.3-22.el6_6.x86_64 nss-util-3.16.2.3-2.el6_6. X8664 openldap-2.4.39-8.el6.x86_64 openssl-1.0.1e-30.el6.8.x86_64 zlib-1.2.3-29.el6.x86_64
Yum install glibc installation, found that only some basic libraries are installed, does not include glibc-debuginfo, so you must use:
Yum-nogpgcheck-enablerepo=debug install cyrus-sasl-debuginfo
Yum-nogpgcheck-enablerepo=debug install glibc-debuginfo
. . .
Install yum-y-- nogpgcheck-- enablerepo=debug install openssl-debuginfo
Error Downloading Packages:
Openssl-debuginfo-1.0.1e-30.el6.8.x86_64: failure: openssl-debuginfo-1.0.1e-30.el6.8.x86_64.rpm from debug: [Errno 256] No more mirrors to try
You need to modify the enable=1 of the "/ etc/yum.repos.d/CentOS-Debuginfo.repo" file to resolve this error.
According to the error prompt, use yum to install debug mode in turn.