gdb调试报Missing separate debuginfos

发布时间:2020-06-25 09:18:01 作者:HF3342
来源:网络 阅读:3351

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


 gdb调试报Missing separate debuginfos

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


 gdb调试报Missing separate debuginfos

需要先修改“/etc/yum.repos.d/CentOS-Debuginfo.repo”文件的enable=1,即可解决这个错误。

根据报错提示,使用yum依次安装debug模式。

推荐阅读:
  1. swoole错误查看的方法
  2. GDB如何调试

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

yum gdb debuginfos

上一篇:oracle SQL语句

下一篇:论封闭网络的安全

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》