KGDB

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 the Linux kernel. It requires two machines that are connected via a serial connection. The serial connection may either be an RS-232 interface using a null 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 the GNU 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.net

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Kgdb — Développeurs Dave Grothe, LinSysSoft Technologies Langue …   Wikipédia en Français

  • KGDB — Développeurs Dave Grothe, LinSysSoft Technologies Langue …   Wikipédia en Français

  • Kgdb — Entwickler Dave Grothe Betriebssystem Linux, FreeBSD Kategorie Debugger Lizenz GNU General Public License …   Deutsch Wikipedia

  • KGDB — Entwickler: Dave Grothe Betriebssystem: Linux Kategorie: Debugger Lizenz: GNU General Public License …   Deutsch Wikipedia

  • GNU Debugger — infobox software developer = GNU Project released = 1986 latest release version = 6.8 latest release date = March 27, 2008 operating system = genre = Debugger license = GPL website = [http://www.gnu.org/software/gdb/ gnu.org/software/gdb/] The… …   Wikipedia

  • Comparison of operating system kernels — A kernel is the core component of every computer operating system. While kernels are highly technical in nature, and may be hidden from the user under many layers of software and applications, they do have distinguishing or characteristic… …   Wikipedia

  • Kernel debugger — A kernel debugger is a debugger present in some kernels to ease debugging and kernel development by the kernel developers.*The Windows NT family of operating systems contain a kernel debugger. *BeOS contain a kernel debugger. *DragonFly BSD… …   Wikipedia

  • Granite Falls Municipal Airport — Infobox Airport name = Granite Falls Municipal Airport nativename = Lenzen Roe Memorial Field nativename a = nativename r = image width = caption = IATA = GDB ICAO = KGDB FAA = GDB type = Public owner = operator = City of Granite Falls city… …   Wikipedia

  • Debogueur — Débogueur Voir « débogueur » sur le Wiktionnaire …   Wikipédia en Français

  • Debug — Débogueur Voir « débogueur » sur le Wiktionnaire …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”