LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 823|回复: 1

gdb调试中list命令无效,请兄弟们帮忙解答!!!

[复制链接]
发表于 2004-3-9 16:42:17 | 显示全部楼层 |阅读模式
信息如下:
[root@localhost c]# gdb 3-8-2
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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"...
(gdb) run
Starting program: /home/wuwei/c/3-8-2
---1-3bdd-f-w-z
---123bddefghijklmnopqrstuvwxyz

Program exited with code 040.
(gdb) list
1       ../sysdeps/i386/elf/start.S: 没有那个文件或目录.
        in ../sysdeps/i386/elf/start.S
(gdb)
发表于 2004-3-9 19:15:50 | 显示全部楼层
你的源程序是不是汇编,如果是C,请搜索一下论坛。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表