Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2006 15:35:12 +0530
From:      Shriek <shriek.007@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   How to debug a daemon during its initialization :: gdb
Message-ID:  <3ce33f6c0608080305p1ea53072hfb5478de91c4f029@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ce33f6c0608080305p1ea53072hfb5478de91c4f029>