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
,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