zoukankan      html  css  js  c++  java
  • centos6安装debuginfo

    查看内核版本,查找对应的内核rpm文件

    [root@localhost ~]#uname -rsp 
    Linux 3.10.0-229.1.2.el7.x86_64 x86_64

    debuginfo.centos.org 下载相应的rpm包,本机内核是3.10.0-229.1.2.el7.x86_64 x86_64 下载:

    • kernel-debuginfo-3.10.0-229.1.2.el7.x86_64.rpm 依赖下面的安装,所以先安装下面的
    • kernel-debuginfo-common-x86_64-3.10.0-229.1.2.el7.x86_64.rpm  先安装

    安装rpm顺序:

    rpm -ivh kernel-debuginfo-common-x86_64-3.10.0-229.1.2.el7.x86_64.rpm 
    rpm -ivh kernel-debuginfo-3.10.0-229.1.2.el7.x86_64.rpm 
     
    安装完毕,就有命令 debuginfo-install 了

    有的需要配置yum CentOS-Debuginfo.repo ,我这里没有做更改。

    使用debuginfo-install安装各种软件包的debug包,这样就可以进行内核调试了。debug的rpm下载位置在:http://debuginfo.centos.org/6/x86_64/

    下载完,安装: sudo rpm -ivh mercurial-debuginfo-1.4-5.el6_9.x86_64.rpm

    参考:

    1、http://www.72zk.com/show/blog/20

    2、https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/developer_guide/intro.debuginfo

  • 相关阅读:
    C语言学习第八章
    C语言学习第七章
    C语言学习第六章
    C语言学习第五章
    ssh的bug
    Oracel 用户管理
    初识Kettle
    IDEA使用MAVEN时自动创建骨架卡的设置
    2017/6/12 JSON
    DDL,DML,DQL
  • 原文地址:https://www.cnblogs.com/shengulong/p/8053332.html
Copyright © 2011-2022 走看看