Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Programming Software IT Linux Technology

Inside the Linux kernel debugger 28

An anonymous reader writes "Here's a good article that shows you how to install and set up the kernel debugger (KDB) to trace Linux kernel execution and examine memory and data structures. The best part is, you don't need a separate machine for debugging."
This discussion has been archived. No new comments can be posted.

Inside the Linux kernel debugger

Comments Filter:
  • Beos was better. (Score:2, Interesting)

    by Anonymous Coward
    BeOS had a nifty debugger that you dropped into instead of BSOD. you could do all sorts of fun things, and it even allowed modules to be loaded to add new debug commands.
  • The article .. (Score:2, Insightful)

    by damaru ( 93691 )
    is more of a Intoduction to KDB then an inside thing.
  • Visual debuggers (Score:4, Interesting)

    by ObviousGuy ( 578567 ) <ObviousGuy@hotmail.com> on Monday June 16, 2003 @06:40PM (#6218338) Homepage Journal
    I have no doubt that KDB is a powerful debugger, but having a GUI would make it even better, IMO.

    This probably comes from my own experience with OS debuggers and Application debuggers (windbg, VC++/Borland C++). Being able to get immediate feedback about program state without having to enter arcane commands is a definite boon.

    Are there any GUI wrappers available for KDB?
    • Re:Visual debuggers (Score:2, Interesting)

      by weicco ( 645927 )
      SoftIce ported on Linux/Unix would be grrrreat. I refused to write any driver code until I got myself a SoftIce in dev-computer at my last job :) Unfortunately SoftIce costs more than family wagon I think.
    • Don't know about KDB, but gdb, the perl debugger and the java debugger all are wrapped by DDD. DDD is a very fine graphical debugger.
      See http://www.gnu.org/software/ddd/
  • by Ristretto ( 79399 ) <.ude.ssamu.sc. .ta. .yreme.> on Tuesday June 17, 2003 @08:20AM (#6221782) Homepage
    We're doing OS research here (UMass) with Linux, and unless you have very specialized needs, you're far better off using User-Mode Linux [sourceforge.net]. By running Linux as a user-process, you don't have to worry about bringing down your machine and you can use gdb to do your debugging.

Put your Nose to the Grindstone! -- Amalgamated Plastic Surgeons and Toolmakers, Ltd.

Working...