gdb调试时的问题Missing separate debuginfos, use: debuginfo-install glibc-XXX
在CentOS6.4下使用gdb进行调试的时候,
使用bt(breaktrace)命令时,会弹出如下的提示:
头一天提示:
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6.i686
问题没解决,第二天提示:
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.i686
但是直接按提示使用
debuginfo-install glibc-2.12-1.132.el6.i686 去安装的时候会报如下的信息:
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirrors.yun-idc.com
* extras: mirrors.yun-idc.com
* updates: mirrors.yun-idc.com
Checking for new repos for mirrors
No debuginfo packages available to install
使用yum来进行安装:
却提示:Error Downloading Packages:
glibc-debuginfo-common-2.12-1.132.el6.i686: failure: glibc-debuginfo-common-2.12-1.132.el6.i686.rpm from debug: [Errno 256] No more mirrors to try.
glibc-debuginfo
后来搜索发现需要先修改“/etc/yum.repos.d/CentOS-Debuginfo.repo”文件的enable=1
文件内容如下:
# CentOS-Debug.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
# # All debug packages from all the various CentOS- releases
# are merged into a single repo, split by BaseArch
#
# Note: packages in the debuginfo repo are currently not signed
# [debug]
name=CentOS- - Debuginfo
baseurl=http://debuginfo.centos.org/6/$basearch/
gpgcheck=
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-6
enabled=
保存之后,使用 debuginfo-install glibc-2.12-1.132.el6.i686 安装,输出如下:
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirrors.yun-idc.com
* extras: mirrors.yun-idc.com
* updates: mirrors.yun-idc.com
debug | 2.5 kB :
Checking for new repos for mirrors
--> Running transaction check
---> Package glibc-debuginfo.i686 :2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-debuginfo-common = 2.12-1.132.el6 for package: glibc-debuginfo-2.12-1.132.el6.i686
---> Package nss-softokn-debuginfo.i686 :3.12.-.el6 will be installed
---> Package yum-plugin-auto-update-debug-info.noarch :1.1.-.el6_5 will be installed
--> Running transaction check
---> Package glibc-debuginfo-common.i686 :2.12-1.132.el6 will be installed
--> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
glibc-debuginfo i686 2.12-1.132.el6 debug M
nss-softokn-debuginfo i686 3.12.-.el6 debug 1.0 M
yum-plugin-auto-update-debug-info noarch 1.1.-.el6_5 updates k
Installing for dependencies:
glibc-debuginfo-common i686 2.12-1.132.el6 debug 7.5 M Transaction Summary
=============================================================================================================================================================
Install Package(s) Total size: M
Total download size: 8.6 M
Installed size: M
Is this ok [y/N]: y
Downloading Packages:
(/): glibc-debuginfo-common-2.12-1.132.el6.i686.rpm | 7.5 MB :
(/): nss-softokn-debuginfo-3.12.-.el6.i686.rpm | 1.0 MB :
(/): yum-plugin-auto-update-debug-info-1.1.-.el6_5.noarch.rpm | kB :
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total kB/s | 8.6 MB :
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : glibc-debuginfo-common-2.12-1.132.el6.i686 /
Installing : glibc-debuginfo-2.12-1.132.el6.i686 /
Installing : yum-plugin-auto-update-debug-info-1.1.-.el6_5.noarch /
Installing : nss-softokn-debuginfo-3.12.-.el6.i686 /
Verifying : glibc-debuginfo-common-2.12-1.132.el6.i686 /
Verifying : nss-softokn-debuginfo-3.12.-.el6.i686 /
Verifying : glibc-debuginfo-2.12-1.132.el6.i686 /
Verifying : yum-plugin-auto-update-debug-info-1.1.-.el6_5.noarch / Installed:
glibc-debuginfo.i686 :2.12-1.132.el6 nss-softokn-debuginfo.i686 :3.12.-.el6 yum-plugin-auto-update-debug-info.noarch :1.1.-.el6_5 Dependency Installed:
glibc-debuginfo-common.i686 :2.12-1.132.el6 Complete!
OK,问题解决。
第二次安装总结:
1、需要先修改“/etc/yum.repos.d/CentOS-Debuginfo.repo”文件的enable=1;
2、使用 sudo yum install glibc 安装;
3、使用 debuginfo-install glibc-2.12-1.132.el6.i686 安装。
测试,安装成功。
gdb调试时的问题Missing separate debuginfos, use: debuginfo-install glibc-XXX的更多相关文章
- CentOS环境下,gdb调试中出现:Missing separate debuginfos, use: debuginfo-install.....的问题
在gdb调试时segmentation fault问题时,遇到下面的了问题: Program received signal SIGABRT, Aborted.0x00007ffff73eb925 i ...
- gdb调试报错:Missing separate debuginfos, use: debuginfo-install glibc-XXX
解决方案: 1.先修改“/etc/yum.repos.d/CentOS-Debuginfo.repo”文件的 enable=1: 2.使用 sudo yum install glibc 安装: 3.使 ...
- gdb中run出现的Missing separate debuginfos, use: debuginfo-install XXX
问题: Missing separate debuginfos, use: debuginfo-install glib 解决方法: 1.将/etc/yum.repo.d/CentOS-Debugin ...
- CentOS7:gdb出现没有调试信息:Missing Separate debuginfos
现在刚刚开始学习用gdb调试程序,结果:在centos下,出现这样的错误: gdb在调试程序时候提示 Missing separate debuginfos, use: debuginfo-insta ...
- CentOS 6.5上使用gdb调试时出现Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.i686 .
在CentOS6.5上用gdb调试时提示Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.i686先修改 ...
- [Gnu]Centos7 解决 gdb 提示 Missing separate debuginfos
Centos7 上使用gdb: $ gdb php $ run /home/www/2.php 运行完 run,后面跟着很长的提示: …. Missing separate debuginfos, u ...
- gdb提示Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6_5.2.x86_64
用gdb debugc代码的时候弹出这个错误 Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6_5.2. ...
- Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.212.el6_10.3.x86_64
在使用gdb调试时出现Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.212.el6_10.3.x86_64提示 解决 ...
- Missing separate debuginfos
问题:Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.192.el6.x86_64解决:1.将/etc/yum.rep ...
随机推荐
- c# 圆上坐标点
var x=-33204.0924438; //圆心x var y=-9512.41208658; //圆心y var r=1000;//半径 var angle=30;//角度 var tmpX ...
- MongoDB 更改数据库位置
MongoDB在Windows中默认的数据库目录是 C:\data.如果在没有该目录的情况下,执行命令mongod,则会报如下错误: 如果我们不想把mongoDB的数据库放在C盘,可以使用如下两种方法 ...
- 解决nexus3报Cannot open local storage 'component' with mode=rw的异常问题
起因:正常使用的公司Maven.Docker私有仓库,突然镜像不能推送,返回getsockopt: connection refused,用docker客户端登录也是返回同样的错误,查看nexus3日 ...
- (C#) 多线程访问int, bool 等值类型变量
参考: https://stackoverflow.com/questions/154551/volatile-vs-interlocked-vs-lock/154803
- MUI框架-06-静态页制作(图片轮播)
MUI框架-06-静态页制作(图片轮播) 轮播也是静态,是相对页面交互来说 上一篇介绍了如何设计一个简单的界面,还没有接触过,请先查看: MUI框架-01-介绍-创建项目-简单页面 轮播组件 之前也介 ...
- Python爬虫教程-10-UserAgent和常见浏览器UA值
Python爬虫教程-10-UserAgent和常见浏览器UA值 有时候使用爬虫会被网站封了IP,所以需要去模拟浏览器,隐藏用户身份, UserAgent 包含浏览器信息,用户身份,设备系统信息 Us ...
- [转载]一步一步教你如何在Virtualbox虚拟机中安装Remix
原文地址:https://bbs.jide.com/forum.php?mod=viewthread&tid=4892 大神请路过-- [准备工具] 1.Virtualbox虚拟机(这个是免费 ...
- 学习笔记:IIS搭建PHP网站出现404错误的解决办法
关于404错误提示相信大家都遇到过吧,记得我遇到这个问题的时候,弄得我焦头烂额的,今天给大家分享下,使用IIS大家PHP网站时出现404错误提示的处理方法,希望对各位朋友有所帮助.IIS搭建PHP出现 ...
- leetcode Ch2-Dynamic Programming II
一. Longest Valid Parentheses 方法一.一维DP class Solution { public: int longestValidParentheses(string s) ...
- 关于webWorker的理解和简单例子
一.理解 当在 HTML 页面中执行脚本时,页面的状态是不可响应的,直到脚本已完成. web worker 是运行在后台的 JavaScript,独立于其他脚本,不会影响页面的性能.您可以继续做任何愿 ...