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 with the use of KGDB. It makes it possible to place breakpoints in kernel code, step through the code, observe variables, inspect memory and look through call stack information.
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. Latest KGDB versions also have the support for Ethernet as a medium for connecting development and test machines. Its possible to debug a guest machine kernel as well, through a pseudo serial line.
The GDB feature of thread analysis can be used with KGDB to look into kernel threads. KGDB can also be used for debugging kernel modules.
The presentation will consist of the following:
- Need for kernel debugging techniques
- Basic Debugging
- KGDB internals ￢ﾀﾓ Setup, Usage, Working, Limitations
- Questions and Answers
How will people benefit from attending it?
Bugs in kernel code frequently result in a lockup or a reboot. Hence, kernel developers and hackers are always in need of reliable debugging mechanism for identifying bugs in the kernel code. Attending this session will help developers understand KGDB internals and how it can be helpful in identifying problematic code.
My Objective for presentation:
Objective of this talk is to cover KGDB internals and demonstrate how KGDB finds its usage in debugging kernel code.
Hall: Hall 2 
Track: Development Tools and Languages