Centos6安装GDB调试信息

安装debuginfo install:yum install yum-utils

修改“/etc/yum.repos.d/CentOS-Debuginfo.repo”文件的enable=1

使用 debuginfo-install glibc-2.12-1.132.el6.i686 安装

没有CentOS-Debuginfo.repo文件就创建一个,内容:

# 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-5 releases
# are merged into a single repo, split by BaseArch
#
# Note: packages in the debuginfo repo are currently not signed
#

[base-debuginfo]
name=CentOS-6 - Debuginfo
baseurl=http://debuginfo.centos.org/6/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-6
enabled=1

猜你喜欢

转载自my.oschina.net/u/3773235/blog/1620401
今日推荐