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