···8484 runs an instance of gdb against the vmlinux file which contains8585 the symbols (not boot image such as bzImage, zImage, uImage...).8686 In gdb the developer specifies the connection parameters and8787- connects to kgdb. Depending on which kgdb I/O modules exist in8888- the kernel for a given architecture, it may be possible to debug8989- the test machine's kernel with the development machine using a9090- rs232 or ethernet connection.8787+ connects to kgdb. The type of connection a developer makes with8888+ gdb depends on the availability of kgdb I/O modules compiled as8989+ builtin's or kernel modules in the test machine's kernel.9190 </para>9291 </chapter>9392 <chapter id="CompilingAKernel">···222223 </para>223224 <para>224225 IMPORTANT NOTE: Using this option with kgdb over the console225225- (kgdboc) or kgdb over ethernet (kgdboe) is not supported.226226+ (kgdboc) is not supported.226227 </para>227228 </sect1>228229 </chapter>···248249 (gdb) target remote /dev/ttyS0249250 </programlisting>250251 <para>251251- Example (kgdb to a terminal server):252252+ Example (kgdb to a terminal server on tcp port 2012):252253 </para>253254 <programlisting>254255 % gdb ./vmlinux255255- (gdb) target remote udp:192.168.2.2:6443256256- </programlisting>257257- <para>258258- Example (kgdb over ethernet):259259- </para>260260- <programlisting>261261- % gdb ./vmlinux262262- (gdb) target remote udp:192.168.2.2:6443256256+ (gdb) target remote 192.168.2.2:2012263257 </programlisting>264258 <para>265259 Once connected, you can debug a kernel the way you would debug an