1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Using kgdb, kdb and the kernel debugger internals</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Using kgdb, kdb and the kernel debugger internals"><link rel="next" href="Introduction.html" title="Chapter 1. Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Using kgdb, kdb and the kernel debugger internals</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="Introduction.html">Next</a></td></tr></table><hr></div><div class="book"><div class="titlepage"><div><div><h1 class="title"><a name="kgdbOnLinux"></a>Using kgdb, kdb and the kernel debugger internals</h1></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Jason</span> <span class="surname">Wessel</span></h3><div class="affiliation"><div class="address"><p><br> 2      <code class="email"><<a class="email" href="mailto:jason.wessel@windriver.com">jason.wessel@windriver.com</a>></code><br> 3     </p></div></div></div></div></div><div><p class="copyright">Copyright © 2008,2010 Wind River Systems, Inc.</p></div><div><p class="copyright">Copyright © 2004-2005 MontaVista Software, Inc.</p></div><div><p class="copyright">Copyright © 2004 Amit S. Kale</p></div><div><div class="legalnotice"><a name="idp1111478604"></a><p> 4 This file is licensed under the terms of the GNU General Public License 5 version 2. This program is licensed "as is" without any warranty of any 6 kind, whether express or implied. 7 </p></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="chapter"><a href="Introduction.html">1. Introduction</a></span></dt><dt><span class="chapter"><a href="CompilingAKernel.html">2. Compiling a kernel</a></span></dt><dd><dl><dt><span class="sect1"><a href="CompilingAKernel.html#CompileKGDB">Kernel config options for kgdb</a></span></dt><dt><span class="sect1"><a href="CompileKDB.html">Kernel config options for kdb</a></span></dt></dl></dd><dt><span class="chapter"><a href="kgdbKernelArgs.html">3. Kernel Debugger Boot Arguments</a></span></dt><dd><dl><dt><span class="sect1"><a href="kgdbKernelArgs.html#kgdboc">Kernel parameter: kgdboc</a></span></dt><dd><dl><dt><span class="sect2"><a href="kgdbKernelArgs.html#kgdbocArgs">kgdboc arguments</a></span></dt></dl></dd><dt><span class="sect1"><a href="kgdbwait.html">Kernel parameter: kgdbwait</a></span></dt><dt><span class="sect1"><a href="kgdbcon.html">Kernel parameter: kgdbcon</a></span></dt><dt><span class="sect1"><a href="kgdbreboot.html">Run time parameter: kgdbreboot</a></span></dt></dl></dd><dt><span class="chapter"><a href="usingKDB.html">4. Using kdb</a></span></dt><dd><dl><dt><span class="sect1"><a href="usingKDB.html#quickKDBserial">Quick start for kdb on a serial port</a></span></dt><dt><span class="sect1"><a href="quickKDBkeyboard.html">Quick start for kdb using a keyboard connected console</a></span></dt></dl></dd><dt><span class="chapter"><a href="EnableKGDB.html">5. Using kgdb / gdb</a></span></dt><dd><dl><dt><span class="sect1"><a href="EnableKGDB.html#ConnectingGDB">Connecting with gdb to a serial port</a></span></dt></dl></dd><dt><span class="chapter"><a href="switchKdbKgdb.html">6. kgdb and kdb interoperability</a></span></dt><dd><dl><dt><span class="sect1"><a href="switchKdbKgdb.html#idp1114241012">Switching between kdb and kgdb</a></span></dt><dd><dl><dt><span class="sect2"><a href="switchKdbKgdb.html#idp1114241372">Switching from kgdb to kdb</a></span></dt><dt><span class="sect2"><a href="switchKdbKgdb.html#idp1114244412">Change from kdb to kgdb</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch06s02.html">Running kdb commands from gdb</a></span></dt></dl></dd><dt><span class="chapter"><a href="KGDBTestSuite.html">7. kgdb Test Suite</a></span></dt><dt><span class="chapter"><a href="CommonBackEndReq.html">8. Kernel Debugger Internals</a></span></dt><dd><dl><dt><span class="sect1"><a href="CommonBackEndReq.html#kgdbArchitecture">Architecture Specifics</a></span></dt><dt><span class="sect1"><a href="kgdbocDesign.html">kgdboc internals</a></span></dt><dd><dl><dt><span class="sect2"><a href="kgdbocDesign.html#idp1114388756">kgdboc and uarts</a></span></dt><dt><span class="sect2"><a href="kgdbocDesign.html#kgdbocKbd">kgdboc and keyboards</a></span></dt><dt><span class="sect2"><a href="kgdbocDesign.html#kgdbocKms">kgdboc and kms</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="credits.html">9. Credits</a></span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="Introduction.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Chapter 1. Introduction</td></tr></table></div></body></html> 8