KGDB

From Wikipedia, the free encyclopedia

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 is implemented as a patch to Linux kernel. 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, ppc, arm, mips, and s390.

A program named kgdb is also used by FreeBSD. It is a gdb based utility for debugging kernel core files.

[edit] External links