揮発性のメモ2

http://d.hatena.ne.jp/iww/

gdbのエラー

GNU gdb 6.3-debian

/nevyn/local/gdb/gdb-6.3/gdb/linux-nat.c:495: internal-error: wait returned unexpected status 0x100
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

スレッドの中でexit()するような無作法なプログラムだとgdbの内部エラーにあたるっぽい

Program terminated with signal SIGTRAP, Trace/breakpoint trap.
The program no longer exists.

gdbserverで子スレッドにブレークポイント張ったら、プログラムそのものが終了してしまった。こんな仕様だったかな