Find the answer to your Linux question:
Results 1 to 2 of 2
I am writing a module in the linux kernel. I can use printk to trace the output. However, I have to compile it and then load the module. Finally write ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    43

    How to debug module ?


    I am writing a module in the linux kernel. I can use printk to trace the output. However, I have to compile it and then load the module. Finally write an application to call it. Until then I can see the printk output...

    need much time......Any advice on it? bunches of thanks........

    ---flyingman

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    try gdb
    Code:
    man gdb
    -lakerdonald

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •