encyclopegia.org

KGDB

KGDB is a debugger for the Linux kernel and the kernels of NetBSD and FreeBSD.[src] It requires two machines that are connected via a serial connection.[src] 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).[src] The target machine (the one being debugged) runs the patched kernel and the other (host) machine runs gdb.[src] The GDB remote protocol is used between the two machines.[src] KGDB was implemented as part of the NetBSD kernel in 1997, and FreeBSD in version 2.2.[src] The concept and existing remote gdb protocol were later adapted as a patch to the Linux kernel.[src] A scaled-down version of the Linux patch was integrated into the official Linux kernel in version 2.6.26.[src] KGDB is available for the following architectures under Linux: IA-32, x86-64, PowerPC, ARM, MIPS, and ESA/390.[src] It is available on all supported architectures of NetBSD and FreeBSD using only RS-232 connectivity.[src] Amit Kale maintained the Linux KGDB from 2000 to 2004.[src] From 2004 to 2006, it was maintained by Linsyssoft Technologies, after which Jason Wessel at Wind River Systems, Inc.[src] took over as the official maintainer.[src] 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).[src] This was the one merged into the 2.6.26 kernel.…[src]

KGDB is a debugger for the Linux kernel and the kernels of NetBSD and FreeBSD.[src] It requires two machines that are connected via a serial connection.[src] 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).[src] The target machine (the one being debugged) runs the patched kernel and the other (host) machine runs gdb.[src] The GDB remote protocol is used between the two machines.[src] KGDB was implemented as part of the NetBSD kernel in 1997, and FreeBSD in version 2.2.[src] The concept and existing remote gdb protocol were later adapted as a patch to the Linux kernel.[src] A scaled-down version of the Linux patch was integrated into the official Linux kernel in version 2.6.26.[src] KGDB is available for the following architectures under Linux: IA-32, x86-64, PowerPC, ARM, MIPS, and ESA/390.[src] It is available on all supported architectures of NetBSD and FreeBSD using only RS-232 connectivity.[src] Amit Kale maintained the Linux KGDB from 2000 to 2004.[src] From 2004 to 2006, it was maintained by Linsyssoft Technologies, after which Jason Wessel at Wind River Systems, Inc.[src] took over as the official maintainer.[src] 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).[src] This was the one merged into the 2.6.26 kernel.[src] This version of kgdb supports only RS-232 connectivity, using a special driver which can split debugger inputs and console inputs such that only a single serial port is required.[src] ==FreeBSD== A program named kgdb is also used by FreeBSD.[src] It is a gdb based utility for debugging kernel core files.[src] It can also be used for remote "live" kernel debugging, much in the same way as the Linux KGDB, over either a serial connection or a firewire link.[src] ==References== ==External links== Debugging the NetBSD kernel with GDB HOWTO KGDB and KDB wiki, the official home of kgdb and kdb for kernel.org 2.5 & up to 2.6.15 Linux Kernel Source Level Debugger FreeBSD kgdb manual kgdb at SourceForge.net[src]

35 sentences · 35 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"KGDB." encyclopegia.org, 2025, https://encyclopegia.org/wiki/kgdb. Accessed 25 November 2026.

Chicago

"KGDB." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/kgdb.

APA

encyclopegia.org. (2025). KGDB. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/kgdb

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1322512684 · 0.5 · snapshot enwiki-001322512684

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.