日期:2014-05-16 浏览次数:20917 次
yum install wget
-bash-4.2$ gdb wget GNU gdb (GDB) Fedora (7.3.50.20110722-9.fc16) ... Reading symbols from /usr/bin/wget...(no debugging symbols found)...done. Missing separate debuginfos, use: debuginfo-install wget-1.12-4.fc16.i686
(gdb) list No symbol table is loaded. Use the "file" command.
sudo debuginfo-install wget-1.12-4.fc16.i686
-bash-4.2$ gdb wget ... Reading symbols from /usr/bin/wget...Reading symbols from /usr/lib/debug/usr/bin/wget.debug...done.
(gdb) list
858 fputs (_("Please send bug reports and questions to <bug-wget@gnu.org>.\n"),
859 stdout);
860 exit (0);
861 }
862
863 char *program_name; /* Needed by lib/error.c. */
864
865 int
866 main (int argc, char **argv)
867 {