centos
c++
linux
[root@localhost 1day]# gdb 3
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-48.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/linux文本/c或c++文本/c++/1day/3...done.
(gdb) r
Starting program: /home/linux文本/c或c++文本/c++/1day/3
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 1day]# debuginfo-install libgcc-4.4.5-6.el6.x86_64 libstdc++-4.4.5-6.el6.x86_64
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 dependency package libgcc-4.4.5-6.el6.x86_64
Could not find debuginfo pkg for dependency package libgcc-4.4.5-6.el6.x86_64
Could not find debuginfo pkg for dependency package libgcc-4.4.5-6.el6.x86_64
Could not find debuginfo pkg for dependency package libgcc-4.4.5-6.el6.x86_64
Could not find debuginfo pkg for dependency package libstdc++-4.4.5-6.el6.x86_64
No debuginfo packages available to install
[root@localhost 1day]# debuginfo-install --nogpgcheck libgcc-4.4.5-6.el6.x86_64 libstdc++-4.4.5-6.el6.x86_64
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 dependency package libgcc-4.4.5-6.el6.x86_64
Could not find debuginfo pkg for dependency package libgcc-4.4.5-6.el6.x86_64
Could not find debuginfo pkg for dependency package libgcc-4.4.5-6.el6.x86_64
Could not find debuginfo pkg for dependency package libgcc-4.4.5-6.el6.x86_64
Could not find debuginfo pkg for dependency package libstdc++-4.4.5-6.el6.x86_64
No debuginfo packages available to install
[root@localhost 1day]#
本人機臺不能聯網,所以沒法下載,同時通過centos-debuginfo.repo的http://debuginfo.centos.org/6/$basearch/ 貌似沒有搜索到libgcc-4.4.5-6.el6.x86_64 libstdc++-4.4.5-6.el6.x86_64,本人由于無法聯機,所以對baseurl做了改變。(感覺不對還請賜教)
[debug]
16 name=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
勞煩各位紳士提供下libgcc-4.4.5-6.el6.x86_64 libstdc++-4.4.5-6.el6.x86_64,非常感謝!
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/276847.html
標籤:非技術區
上一篇:激光slam建圖與定位精度評估
下一篇:linux c++除錯問題:Missing separate debuginfos, use: debuginfo-install libgcc-4.4.5-6
