How to debug a daemon during its initialization :: gdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux