Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I am working on the implementation of cross layer design issues in networking.I have downloaded the kernel source code for linux-2.6.15.5.The kgdb patch is aslo downloaded.I have set up ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2

    How to go about kernel debugging


    Hi

    I am working on the implementation of cross layer design issues in networking.I have downloaded the kernel source code for linux-2.6.15.5.The kgdb patch is aslo downloaded.I have set up 2 machines-development and target for debugging.These 2 machines are connected via serial cable.I start the gdb on development machine.My target system waits at Uncompressing Linux.Ok Booting kernel for sometime and then boots properly.

    I want to know how to debug the kernel.If i insert a module how to go about debugging it.What commands are supposed to be given.And which commands are supposed to be given where-i.e:target machine or development machine.


    Could anybody help!!!!!!!!!

  2. #2
    Linux Newbie
    Join Date
    Mar 2008
    Location
    Hyderabad
    Posts
    109
    This is a good book for gdb. See u can get an e-copy
    O'Reilly Media | GDB Pocket Reference.

    Linux Device Drivers, 2nd Edition: Chapter 4: Debugging Techniques
    This is also a good page for getting basics of gdb.

Posting Permissions

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