Home > OS >  Linux c debugging problems: Missing separate debuginfos, use: debuginfo - install libgcc 4.4.5-6
Linux c debugging problems: Missing separate debuginfos, use: debuginfo - install libgcc 4.4.5-6

Time:04-17


Centos
C + +
Linux
[root @ localhost 1 day] # GDB 3
The GNU GDB (GDB) Red Hat Enterprise Linux (7.2-48. El6)
Copyright (C) 2010 Free Software Foundation, Inc.,
License GPL + : the GNU GPL version 3 or later & lt; http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO giant, to the among permitted by law. The Type "show copying"
And "show giant" for details.
This GDB was configured as "x86_64 -- redhat Linux - gnu".
For bug reporting instructions, both please see:
.
Reading symbols from/home/Linux text text/c or c + +/c + +/1 day, 3... Done.
(GDB) r
Starting the program:/home/Linux text text/c or c + +/c + +/1 day/3
The helloworld today is a gift!
A=10
0
1

Program exited normally.
Missing separate debuginfos, use: debuginfo - install libgcc 4.4.5-6. El6. X86_64 libstdc++ 4.4.5-6. El6. X86_64
(GDB) q

[root @ localhost 1 day] # debuginfo - install libgcc 4.4.5-6. El6. X86_64 libstdc++ 4.4.5-6. El6. X86_64
The Loaded plugins: fastestmirror, refresh - packagekit
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Could not find debuginfo for main PKG: libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo for main PKG: libstdc++ 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libstdc++ 4.4.5-6. El6. X86_64
No debuginfo packages available to install
[root @ localhost 1 day] # debuginfo - install - nogpgcheck libgcc 4.4.5-6. El6. X86_64 libstdc++ 4.4.5-6. El6. X86_64
The Loaded plugins: fastestmirror, refresh - packagekit
Loading mirror speeds from cached hostfile
Loading mirror speeds from cached hostfile
Could not find debuginfo for main PKG: libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo for main PKG: libstdc++ 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libgcc 4.4.5-6. El6. X86_64
Could not find debuginfo PKG for the dependency package libstdc++ 4.4.5-6. El6. X86_64
No debuginfo packages available to install
[root @ localhost 1 day] #

Oneself the machine cannot be connected to the Internet, so can't download, at the same time, through the centos - debuginfo. Repo http://debuginfo.centos.org/6/$basearch/seems to be no search to libgcc - 4.4.5-6. El6. X86_64 libstdc++ 4.4.5-6. El6. X86_64, I unable to online, so to make changes within the baseurl (felt wrong also please comment)

[the debug]
Name=16 CentOS - 6 - Debuginfo
17 # baseurl=http://debuginfo.centos.org/6/$basearch/
18 baseurl=file:///home/Centos6/
19 gpgcheck=1
20 gpgkey=file:///home/Centos6/RPM-GPG-KEY-CentOS-Debug-6
21 enabled=1

Bother you gentleman to provide the libgcc 4.4.5-6. El6. X86_64 libstdc++ 4.4.5-6. El6. X86_64, thank you very much!
  • Related