- KGDB
Infobox Software
name = KGDB
author = Dave Grothe
developer = LinSysSoft Technologies
released =
latest release version =
latest release date =
latest preview version =
latest preview date =
frequently updated =
programming language =
operating system =Linux
platform =
size =
status =
genre =Debugger
license =GNU General Public License
website = http://kgdb.linsyssoft.com/KGDB is a
debugger for theLinux kernel . It requires two machines that are connected via a serial connection. The serial connection may either be anRS-232 interface using anull modem cable, or via the UDP/IP networking protocol (KGDB over Ethernet, KGDBoE).KGDB was originally implemented as a patch to Linux kernel, but it has been included in the official kernel in 2.6.26. The target machine (the one being debugged) runs the patched kernel and the other (host) machine runs gdb. The GDB remote protocol is used between the two machines.
KGDB is available for the following architectures: x86,
x86-64 , PowerPC, ARM, MIPS, and S390.It is
free software released under the terms of theGNU General Public License .Ingo Molnar and Jason Wessel created a slimmed-down and cleaned up version of KGDB which was called "kgdb light" (without ethernet support and many other hacks). This was the one merged into the 2.6.26 kernel. [ [http://kerneltrap.org/Linux/Kgdb_Light Kgdb Light | KernelTrap ] ] The version of kgdb in the 2.6.26 kernel supports only rs232 using a driver which can split debugger inputs and console inputs such that only a single rs232 port is required.Jason Wessel created a kgdb test suite which was merged into the 2.6.26 kernel in order to regression test the kgdb core as well as to aid in the validation of future architecture support for kgdb.
FreeBSD
A program named kgdb is also used by
FreeBSD . It is a gdb based utility for debugging kernel core files [ [http://www.freebsd.org/cgi/man.cgi?query=kgdb&sektion=1&manpath=FreeBSD+6.0-stable FreeBSD kgdb man page] ] .External links
* [http://kgdb.linsyssoft.com/ Linux Kernel Source Level Debugger]
* [http://www.freebsd.org/cgi/man.cgi?query=kgdb&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html FreeBSD kgdb manual]
* [http://www.dumbare.com/kgdb KGDB Debugging screenshots]
* [http://sourceforge.net/projects/kgdb/ kgdb] at SourceForge.netReferences
Wikimedia Foundation. 2010.