こんにちは、小島です。

>> ■gdbコマンドの実行結果です。
>> gdb /usr/local/apache/bin/httpsd /libhttpsd.ep.core
>...
>> warning: core file may not match specified executable file.
> なんか、core ファイルを間違えてないですか?

「gdb ./httpsd /libhttpsd.ep.core」ではなく
「gdb ./libhttpsd.ep ./libhttpsd.ep.core」だったようです。すみません。

gdb ./libhttpsd.ep ./libhttpsd.ep.core
では以下のように出力されました

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"...
Core was generated by `libhttpsd.ep'.
Program terminated with signal 11, Segmentation fault.
#0  0x28f62fa8 in ?? ()
(gdb) bt
#0  0x28f62fa8 in ?? ()
#1  0x282ba8aa in ?? ()

途中省略

#764 0xbfbfe728 in ?? ()
#765 0x08048636 in main (argc=672058232, argv=0x0) at main/http_main.c:7967
(gdb)

--
小島

メールによる返信