Re: [问题] 进使用者列表会断线

楼主: morrris (莫里斯)   2009-04-30 22:59:27
※ 引述《morrris (莫里斯)》之铭言:
: 参考以前的文章
: OS:FreeBSD 6.2
: 重新make -DGDB
: 用ps -aux找出pid
: bbs 2131 0.0 0.5 8172 2608 ?? IN 5:32 0:00.01 mbbsd: debug me
: 然后输入gdb mbbsd 2131
: 出现下面讯息
: GNU gdb 6.1.1 [FreeBSD]
: Copyright 2004 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-marcel-freebsd"...
: Attaching to program: /home/bbs/bin/mbbsd, process 2131
: ptrace: Operation not permitted.
: /home/bbs/2131: No such file or directory.
: (gdb)
: 不知道接下来可以怎么做 @@ 请高手们指导...谢谢...
可以attach到了
出现下面
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd"...mbbsd: No such file or directory.
Attaching to process 2384
/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
这是代表什么情况..@@

Links booklink

Contact Us: admin [ a t ] ucptt.com