Centos6安裝GDB調試信息

安裝debuginfo install:yum install yum-utilscentos

修改「/etc/yum.repos.d/CentOS-Debuginfo.repo」文件的enable=1less

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

沒有CentOS-Debuginfo.repo文件就建立一個,內容:url

# 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
相關文章
相關標籤/搜索