Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 2233

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Kernel parameter: kgdbcon</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Using kgdb and the kgdb Internals" /><link rel="up" href="ch03.html" title="Chapter&#160;3.&#160;Enable kgdb for debugging" /><link rel="prev" href="ch03s02.html" title="Kernel parameter: kgdboc" /><link rel="next" href="ch04.html" title="Chapter&#160;4.&#160;Connecting gdb" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Kernel parameter: kgdbcon</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;3.&#160;Enable kgdb for debugging</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch04.html">Next</a></td></tr></table><hr /></div><div class="sect1" title="Kernel parameter: kgdbcon"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="kgdbcon"></a>Kernel parameter: kgdbcon</h2></div></div></div><p>
  Kgdb supports using the gdb serial protocol to send console messages
  to the debugger when the debugger is connected and running.  There
  are two ways to activate this feature.
  </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Activate with the kernel command line option:</p><p><code class="constant">kgdbcon</code></p></li><li class="listitem"><p>Use sysfs before configuring an io driver</p><p>
  <code class="constant">echo 1 &gt; /sys/module/kgdb/parameters/kgdb_use_con</code>
  </p><p>
  NOTE: If you do this after you configure the kgdb I/O driver, the
  setting will not take effect until the next point the I/O is
  reconfigured.
  </p></li></ol></div><p>
  </p><p>
  IMPORTANT NOTE: Using this option with kgdb over the console
  (kgdboc) is not supported.
  </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Kernel parameter: kgdboc&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;4.&#160;Connecting gdb</td></tr></table></div></body></html>