The HyperNews Linux KHG Discussion Pages

News: Another kernel debugging tool

Forum: The Linux Kernel Hackers' Guide
Re: Idea Linux kernel debugging
Re: News GDB for Linux (David Grothe)
Keywords: Linux kernel debugging
Date: Fri, 20 Dec 1996 21:04:49 GMT
From: David Hinds <>

I wrote a tool that lets you run gdb on the same system as the kernel you're debugging. It supports viewing and modifying kernel data structures, viewing stack traces for processes in the kernel, interpreting trap reports, and calling kernel functions. It isn't as flexible as a remote debugger; in particular, there are no breakpoints. But I've still found it to be very useful, and if you don't have a spare system to use for remote debugging, it is the next best thing.

You can find the "kdebug" package at <>.