|
KGDB is a source level
debugger for linux kernel. It is used along with gdb to debug linux
kernel. Kernel developers can debug a kernel similar to application
programs using KGDB. It makes it possible to place breakpoints in a
kernel code, step through the code and observe variables. Two machines
are required for using KGDB. One of these machines is a development
machine and the other is a test machine. The machines are connected
through a serial line: a null-modem cable which connects their serial
ports. The kernel to be debugged runs on the test machine. gdb runs on
the development machine. The serial line is used by gdb to communicate
to the kernel being debugged. Recent kgdbs also have support for
ethernet as a medium for connecting development and test machines.
First KGDB patch was
written by Dave Grothe in 1997. It had a basic kernel debugging
functionality for i386 architecture. Amit Kale took over the patch in
2000 to start a kgdb project at sourceforge.net Starting the project
provided a place where kernel developers could find documentation about
kgdb and download kgdb for the kernel they worked with. Over the years
Amit enhanced kgdb with new features like SMP support, automatic module
loading in gdb and readable backtraces, support for kernels from 2.0.x
to 2.6.x versions and support for other architectures, with help from
several kernel developers. The KGDB project was moved over to
kgdb.linsyssoft.com after Amit founded LinSysSoft Technologies Pvt. Ltd.
to add resources for improving kgdb at a faster pace. The kgdb credits page lists the names of kernel
developers who have contributed to kgdb. kgdb downloadables and the
documentation reside as a part of LinSysSoft webpages and the kgdb
source repository and mailing list are maintained as part of the kgdb project at
sourceforge.net.
KGDB is featured in
following articles
2001: Remote
Debugging of Loadable Kernel Modules with kgdb: a Knowledge-based
Article for Getting Started: This article is about debugging of kernel
modules using kgdb.
2003: Kernel Development:
Discusses the release of 2.6.0 kernel. It mentiones kgdb as the
development tool for the kernel.
The discussion of technical issues and bug reports at KGDB mailing
list archives show the growing popularity of kgdb over last few
years.
This kgdb website is
maintained by KGDB developers
at LinSysSoft Technologies. Please help us by sending suggestions to
enhance this website and by pointing out any discrepancies.
Copyright
(C) 2004-2006 LinSysSoft Technologies Pvt. Ltd.
All rights reserved.
|