RE: How to debug a daemon during its initialization :: gdb

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

 



>  -----Original Message-----


>  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

If you just wish to check which functions are called during start/stop:

strace -f -o <strace-output-file> <executable> 

./h



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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