Forum Discussion
Altera_Forum
Honored Contributor
20 years agoKernel Debugging?
This may be a dumb question, but how do you debug the kernel if you are using the linux tools? USing the IDE to debug is great, but that would involve building the kernel under Cygwin, which I don't want to do...
3 Replies
- Altera_Forum
Honored Contributor
Hi J,
Link to a very good reading about debugging, (you can find some others goodies on that site) http://www.linuxdevices.com/news/ns6374541663.html (http://www.linuxdevices.com/news/ns6374541663.html) ch4 on debugging of the book "Linux Device Driver 3rd ed", a must have, (you can download it from the web, or better buy one). - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Mar 10 2006, 05:12 PM hi j,link to a very good reading about debugging, (you can find some others goodies on that site)
http://www.linuxdevices.com/news/ns6374541663.html (http://www.linuxdevices.com/news/ns6374541663.html)
ch4 on debugging of the book "linux device driver 3rd ed", a must have, (you can download it from the web, or better buy one).
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13326)
--- quote end ---
--- Quote End --- Those papers are good, however, they aren't related to NIOS Tools. Do you use, or are you supposed to use, nios tools when debugging? I'm not really looking for debugging techniques, more like how to actually debug using linux with uClinux on a NIOS.
- Altera_Forum
Honored Contributor
I use "printk" along, when debugging kernel and drivers on nios2.