今天又试了一下,一样的信息,gdb步骤问题??
# gdb -p 7835
GNU gdb 6.0
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-pc-solaris2.9".
Attaching to process 7835
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP 1]
0xd11bd26d in ?? ()
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0xd11db2cc in ?? ()
(gdb) bt
#0 0xd11db2cc in ?? ()
#1 0x0806fb0c in ?? ()
(gdb) c
Continuing.
procfs: couldn't stop process 7835: wait returned -1
(gdb)
【 在 JulyClyde (七月) 的大作中提到: 】
: 没有-g参数编译啊?
--
FROM 220.173.136.*