|
请问一下大家,为什么我用gdb调试程序时,总是出现下面的提示呢?而且什么操作都不能,例如不能设置断点等,具体情况如下:
GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) file loveteller
Reading symbols from /home/asnoka/prog/loveteller...(no debugging symbols found)...done.
(gdb) break 3
No symbol table is loaded. Use the "file" command.
(gdb)
小弟先谢谢了!!! |
|