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 ...
随机推荐
- hdu5824 graph
传送门 题意:定义一个无向图的权值为图中形为树的连通块数量的$k$次方,求所有$n$个点有标号的简单无向图的权值之和. 这个题还是很妙的啊……(好吧,其实只有最后的复合函数求导比较有意思……) 先套路 ...
- JAVASE(说出ArrayList,LinkedList的储存性能和特性)
说出ArrayList,和LinkedList的储存性能和特性? 答: ## ArrayList采用的是数组形式来保存对象的,这种方式将对象放在连续的位置中,优点是索引读取快,从最后插入和删除元素速 ...
- Ajax实现表格实时编辑
如果我们的对于一个表格中所有的数据都能在本页进行操作那该是多酷炫的一件事(用起来炒鸡爽)! 用Ajax就可以实现这个功能啦.废话不多说,下面贴出我写的demo吧哈哈.我用的TP框架(3.2)比较习惯啦 ...
- Java设计模式—解释器模式&迭代器模式简介
解释器模式在实际的系统开发中使用得非常少,因为它会引起效率.性能以及维护等问题,一般在大中型的框架型项目能够找到它的身影,如一些数据分析工具.报表设计工具.科学计算工具等,若你确实遇到" ...
- apm飞控飞行模式详解
1.稳定模式Stabilize稳定模式是使用得最多的飞行模式,也是最基本的飞行模式,起飞和降落都应该使用此模式.此模式下,飞控会让飞行器保持稳定,是初学者进行一般飞行的首选,也是FPV第一视角飞行的最 ...
- 对View的onMeasure()方法的进一步研究
在Android开发中,很多人对自定义View是望而生畏,但这又是向高级进阶的必经之路,主要是对View里面的很多方法不知道怎么理解,其中一个就是onMeasure()方法. 首先,我自定义一个MyV ...
- Android 线程池的类型、区别以及为何要用线程池
每个 Android 应用进程在创建时,会同时创建一个线程,我们称之为主线程,负责更新 UI 界面以及和处理用户之间的交互,因此,在 Android 中,我们又称之为 UI 线程.一个进程中 UI 线 ...
- 为订阅内虚拟机批量安装并配置 Microsoft Anti-Malware 扩展
本文提供了对订阅内的 Windows 经典部署虚拟机和资源管理器部署虚拟机执行批量安装并配置 Microsoft Anti-Malware 扩展的 PowerShell 脚本. 关于安装 Window ...
- 传递给数据库 'model' 中的日志扫描操作的日志扫描号无效
状况描述:在服务器的管理中重新启动MSSQLSERVER启动后马上又停止 通过"事件查看器" 发现 错误: ,严重度: ,状态: LSN(::)无效.该 LSN 是传递给数据库 ...
- asp.net session 保存实体类对象
存:User user=new User();session["USER"]=user; 取:User u= (User ) session["USER"];