- 论坛徽章:
- 0
|
我的运行结果如下, init。c是怎么回事啊?
----------------------------------------------
[wanglt@sz-gw hello]$ ls
a.out configure configure.in greeting greeting.c hello hello.c
[wanglt@sz-gw hello]$ gdb greeting
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 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"...
(gdb) list
1 init.c: No such file or directory.
in init.c
(gdb) list
1 in init.c
(gdb)
(gdb) list 22
17 in init.c
(gdb) list greeting.c
Can't find member of namespace, class, struct, or union named "greeting.c"
Hint: try 'greeting.c<TAB> or 'greeting.c<ESC-?>
(Note leading single quote.)
(gdb) |
|