linux gdb 没有符号表被读取。请使用 "file" 命令。
gcc 编译通过的可执行文件test,然后gdb test
GNU gdb (GDB) 7.1-ubuntu
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /mnt/hgfs/robot/testArea/GdbTest...(no debugging symbols found)...done.
(gdb) l
(gdb)file test
为什么会出现这个“没有符号表被读取。请使用 "file" 命令。“?
ps
linxu有啥好用的调试工具没有?