How to debug a daemon during its initialization :: gdb

Shriek shriek.007 at gmail.com
Tue Aug 8 10:05:21 UTC 2006


I need to use gdb to check some initialization functions which are called
during the time when the daemon is stopped and restarted  ... I usually do
gdb <unstripped object file> <pid of the daemon> but this will not help when
I am stopping the daemon and then restarting ...  how do I use gdb to this
effect ?


More information about the freebsd-hackers mailing list