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 ?