> Hello,
> I did a daemon program which uses sendmail milter.
> I would like the program to make a core file when it crashes.
> from time to time the daemon dies and I Am not able to find out why.
> If I had a core file I could use the debugger.
> Is there any way to tell hte program to die with a core dump in FreeBSD ?

Why don't you let your program start and then attach gdb to it.
Or just make periodic core dumps using gcore(1) to be able to
inspect your program's current state.

Norbert

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to