debugging kernel code..

2006-02-17 Thread divyesh shah
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

Re: debugging kernel code..

2006-02-17 Thread Pranav Peshwe
,also it is logged in the ASCII text file - /var/log/messages. You can use uprintf if you do not want to log the messages in the file but want to see them on console.You can configure DDB and remote GDB (using a serial line) for debugging kernel code/modules. HTH. Regards, Pranav