1
我正在使用fedora 20並嘗試使用GDB。但是,我得到了這個錯誤消息,它阻止了我調試程序。GDB缺少單獨的debuginfos
Missing separate debuginfos, use: debuginfo-install nss-softokn-freebl-3.17.4-1.fc20.x86_64
我跑的命令來安裝的指示,我得到這個消息,這樣做我又試了一次還是出現在GDB同樣的問題
$ sudo debuginfo-install nss-softokn-freebl-3.17.4-1.fc20.x86_64
Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
fedora-debuginfo/20/x86_64/metalink | 3.5 kB 00:00:00
fedora-source/20/x86_64/metalink | 3.9 kB 00:00:00
google-chrome | 951 B 00:00:00
updates/20/x86_64/metalink | 1.5 kB 00:00:00
updates-debuginfo/20/x86_64/metalink | 3.3 kB 00:00:00
updates-source/20/x86_64/metalink | 3.6 kB 00:00:00
updates-testing/20/x86_64/metalink | 1.6 kB 00:00:00
updates-testing-debuginfo/20/x86_64/metalink | 3.5 kB 00:00:00
updates-testing-source/20/x86_64/metalink | 3.7 kB 00:00:00
google-chrome/primary | 1.8 kB 00:00:00
google-chrome 3/3
Could not find debuginfo for main pkg: nss-softokn-freebl-3.17.4-1.fc20.x86_64
Package glibc-debuginfo-2.18-19.fc20.x86_64 already installed and latest version
No debuginfo packages available to install
後。 我的GDB版本是:
GNU gdb (GDB) Fedora 7.7.1-21.fc20
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
工程就像一個魅力。 – mattsun