Date: Tue, 17 Aug 2004 23:11:24 -0700 (PDT) From: Dennis George <easyeinfo@yahoo.com> To: freebsd-hackers@freebsd.org Subject: Kernel Debugging Message-ID: <20040818061124.83583.qmail@web53906.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi, I am studying the kernel source of FreeBSD. I like to know the flow of packets from NIC to different modules of Kernel and then to the user-level. I studied the code and identified some of the functions through which the kernel handles network packets..... But I want to check from where the control goes to that function....... So I decided to debug the kernel.... since I have only one machine I am not checking for kgdb.... I decided to work with DDB so compiled the kernel with option DDB and with debugging enabled (-g option). After installing the new kernel I rebooted the system and in the boot prompt I gave "-d" option to enter the debugging module..... My problem is that I can't provide any breakpoints with this method... It gives me error saying "symbol not found"..... Can anybody tell me where is the problem................ thanks Joseph --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040818061124.83583.qmail>