Using GDB on CENTOS7:
$ gdb php$ run/home/www/2.php
After running run, follow a long hint:
....
Missing separate Debuginfos, Use:debuginfo-install cyrus-sasl-lib-2.1.26-17.el7.x86_64 glibc-2.17-55.el7_0.3.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.11.3-49.el7.x86_64 libcom_err-1.42.9-4.el7.x86_64 libcurl-7.29.0-19.el7.x86_64 libidn-1.28-3.el7.x86_64 libjpeg-turbo-1.2.90-5.el7.x86_64 libmcrypt-2.5.8-4.el7.art.x86_64 libpng-1.5.13-5.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libssh2-1.4.3-8.el7.x86 _64 libxml2-2.9.1-5.el7_0.1.x86_64 nspr-4.10.6-1.el7_0.x86_64 nss-3.16.2.3-2.el7_0.x86_64 nss-softokn-freebl-3.16.2.3-1.el7_0.x86_64 nss-util-3.16.2.3-1.el7_0.x86_64 openldap-2.4.39-3.el7.x86_64 openssl-libs-1.0.1e-34.el7_0.6.x86_64 pcre-8.32-12.el7.x86_64 xz-libs-5.1.2-8alpha.el7.x86_64 zlib-1.2.7-13.el7.x86_64.... Remove the above hint, just follow the instructions with ' Debuginfo-install ' to install the following series of packages. (No ' debuginfo-install ' command, first ' yum install yum-utils ' installation.) If you encounter a hint Invalid Gig key from file:///etc/pki/rpm-gpg/rpm-gpg-key-centos-7 then just set up the two items in the following file, they are the key:
vi /etc/yum. Repos.d/centos-debuginfo.repo
gpgcheck=0 # does not detect signatures,
enabled=1 # supports Yum source
You can then continue to install the dependent packages:
$sudo debuginfo-Install -Y cyrus-sasl-lib-2.1. -- -. el7.x86_64 glibc-2.17- -. El7_0.3. x86_64 keyutils-libs-1.5.8-3. el7.x86_64 krb5-libs-1.11.3- the. el7.x86_64 libcom_err-1.42.9-4. el7.x86_64 libcurl-7.29.0- +. el7.x86_64 libidn-1.28-3. el7.x86_64 libjpeg-turbo-1.2. --5. el7.x86_64 libmcrypt-2.5.8-4. el7.art.x86_64 libpng-1.5. --5. el7.x86_64 libselinux-2.2.2-6. el7.x86_64 libssh2-1.4.3-8. el7.x86_64 libxml2-2.9.1-5. El7_0.1. x86_64 nspr-4.10.6-1. el7_0.x86_64 nss-3.16.2.3-2. el7_0.x86_64 nss-softokn-freebl-3.16.2.3-1. el7_0.x86_64 nss-util-3.16.2.3-1. el7_0.x86_64 openldap-2.4. the-3. el7.x86_64 openssl-libs-1.0.1e- the. El7_0.6. x86_64 pcre-8.32- A. el7.x86_64 xz-libs-5.1.2-8alpha.el7.x86_64 zlib-1.2.7- -. el7.x86_64
If you are prompted to install NSS-SOFTOKN, proceed with the installation:
sudo Yum Install -y nss-softokn nss-softokn-debuginfo--nogpgcheck--skip-broken
Nss-softokn-debuginfo is a package that provides debug information to Nss-softokn,--nogpgcheck ignores signature checks, and--skip-broken skips packets that have dependencies.
link:http://www.cnblogs.com/farwish/p/5640656.html@ Black Eyed poet <www.farwish.com>
[Gnu] Centos7 resolve GDB hint Missing separate Debuginfos