Centos6 installs GDB debugging information

安装debuginfo install:yum install yum-utils

Modify the enable=1 of the "/etc/yum.repos.d/CentOS-Debuginfo.repo" file

Install with debuginfo-install glibc-2.12-1.132.el6.i686

Create a CentOS-Debuginfo.repo file without the content:

# 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

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324943153&siteId=291194637