[root@localhost bin]# ps aux|grep bbsd
bbs 23978 0.0 0.1 2736 484 ? S 15:41 0:00 [bbsd]
bbs 24278 0.0 0.2 2688 524 pts/3 S 16:03 0:00 [bbsd]
bbs 24407 0.0 2.5 14852 6272 ? S 16:20 0:00 [bbsd]
root 24412 0.0 0.2 4812 636 pts/3 S 16:21 0:00 grep bbsd
[root@localhost bin]# gdb bbsd
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) attach 24407
Attaching to program: /home/bbs/bin/bbsd, process 24407
Couldn't get registers: 不允许的操作.
【 在 foxban (长白发了....) 的大作中提到: 】
: (gdb) r Starting program: /sbin/ifenslave Couldn't get registers: Operation not permitted. (gdb) 看吧,我们没有足够的权限调试这个有问题的程序.
: google出来的结果...
: 你按我的步骤试试...
: ...................
--
FROM 211.151.89.*