Kernel Debugging
Dennis George
easyeinfo at yahoo.com
Tue Aug 17 23:11:25 PDT 2004
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!
More information about the freebsd-hackers
mailing list