gdb調試開始時,報錯,提示信息如下:
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.x86_64 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安裝,發現只是安裝了一些基本庫,并不包含 glibc-debuginfo,所以必須使用:
yum --nogpgcheck --enablerepo=debug install cyrus-sasl-debuginfo
yum --nogpgcheck --enablerepo=debug install glibc-debuginfo
。。。
安裝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
需要先修改“/etc/yum.repos.d/CentOS-Debuginfo.repo”文件的enable=1,即可解決這個錯誤。
根據報錯提示,使用yum依次安裝debug模式。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。