Date: Fri, 17 Feb 2006 14:41:53 -0800 (PST) From: divyesh shah <divs_83@yahoo.com> To: freebsd-questions@freebsd.org Subject: debugging kernel code.. Message-ID: <20060217224153.15856.qmail@web31010.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
I have added a system call and a somple program which uses that call. However, I need to debug my system call code. gdb doesn't help as it doesnt allow me to step into kernel level code from my user test program. Is there any way I can write debug information(say like printf statements)? I have seen some kernel code using printf's but I wonder where would they be printed out. Is there some kind of kernel log file?? Please help -Divyesh Shah. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060217224153.15856.qmail>