zoukankan      html  css  js  c++  java
  • CentOS环境下,gdb调试中出现:Missing separate debuginfos, use: debuginfo-install.....的问题

    在gdb调试时segmentation fault问题时,遇到下面的了问题:

    Program received signal SIGABRT, Aborted.
    0x00007ffff73eb925 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
    64  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
    Missing separate debuginfos, use: debuginfo-install libgcc-4.4.7-3.el6.x86_64

    1、  修改文件/etc/yum.repos.d/CentOS-Debuginfo.repo中的enabled参数,将其值修改为1,如:vi /etc/yum.repos.d/CentOS-Debuginfo.repo

    2、  使用命令:

     yum install nss-softokn-debuginfo --nogpgcheck

    3、  使用命令:

    debuginfo-install glibc

    如果出现下面的问题:

    -bash: debuginfo-install: command not found

    则先安装yum-utils,使用命令:

    yum install yum-utils

    4、安装:libgcc-4.4.7-3.el6.x86_64,使用命令:

    debuginfo-install libgcc-4.4.7-3.el6.x86_64

  • 相关阅读:
    图床_shell命令passwd
    图床_shell命令usermod
    图床_shell命令groupadd
    图床_shell命令userdel
    图床_shell命令useradd
    图床_shell命令whereis
    图床_shell命令find
    图床_shell命令which
    图床_shell命令locate
    图床_shell命令free
  • 原文地址:https://www.cnblogs.com/lidabo/p/3977507.html
Copyright © 2011-2022 走看看