各位大侠帮忙给看看我的gdb出了什么问题,多谢了,信息如下:
# gdb example
GNU gdb 4.18
Copyright 1998 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-pc-solaris2.8"...
(gdb) break 2
Breakpoint 1 at 0x8050622: file example.c, line 2.
(gdb) run
Starting program: /zym/example
/proc/602/ctl: Inappropriate ioctl for device
/proc/602/status: No such file or directory.
can't open process file
(gdb) #
谢谢