Using kgdb, kdb and the kernel debugger internals

Jason Wessel


      
     

This file is licensed under the terms of the GNU General Public License version 2. This program is licensed "as is" without any warranty of any kind, whether express or implied.


Table of Contents

1. Introduction
2. Compiling a kernel
Kernel config options for kgdb
Kernel config options for kdb
3. Kernel Debugger Boot Arguments
Kernel parameter: kgdboc
kgdboc arguments
Kernel parameter: kgdbwait
Kernel parameter: kgdbcon
4. Using kdb
Quick start for kdb on a serial port
Quick start for kdb using a keyboard connected console
5. Using kgdb / gdb
Connecting with gdb to a serial port
6. kgdb and kdb interoperability
Switching between kdb and kgdb
Switching from kgdb to kdb
Change from kdb to kgdb
Running kdb commands from gdb
7. kgdb Test Suite
8. Kernel Debugger Internals
Architecture Specifics
kgdboc internals
kgdboc and uarts
kgdboc and keyboards
kgdboc and kms
9. Credits