···84 runs an instance of gdb against the vmlinux file which contains85 the symbols (not boot image such as bzImage, zImage, uImage...).86 In gdb the developer specifies the connection parameters and87- connects to kgdb. Depending on which kgdb I/O modules exist in88- the kernel for a given architecture, it may be possible to debug89- the test machine's kernel with the development machine using a90- rs232 or ethernet connection.91 </para>92 </chapter>93 <chapter id="CompilingAKernel">···222 </para>223 <para>224 IMPORTANT NOTE: Using this option with kgdb over the console225- (kgdboc) or kgdb over ethernet (kgdboe) is not supported.226 </para>227 </sect1>228 </chapter>···248 (gdb) target remote /dev/ttyS0249 </programlisting>250 <para>251- Example (kgdb to a terminal server):252 </para>253 <programlisting>254 % gdb ./vmlinux255- (gdb) target remote udp:192.168.2.2:6443256- </programlisting>257- <para>258- Example (kgdb over ethernet):259- </para>260- <programlisting>261- % gdb ./vmlinux262- (gdb) target remote udp:192.168.2.2:6443263 </programlisting>264 <para>265 Once connected, you can debug a kernel the way you would debug an
···84 runs an instance of gdb against the vmlinux file which contains85 the symbols (not boot image such as bzImage, zImage, uImage...).86 In gdb the developer specifies the connection parameters and87+ connects to kgdb. The type of connection a developer makes with88+ gdb depends on the availability of kgdb I/O modules compiled as89+ builtin's or kernel modules in the test machine's kernel.090 </para>91 </chapter>92 <chapter id="CompilingAKernel">···223 </para>224 <para>225 IMPORTANT NOTE: Using this option with kgdb over the console226+ (kgdboc) is not supported.227 </para>228 </sect1>229 </chapter>···249 (gdb) target remote /dev/ttyS0250 </programlisting>251 <para>252+ Example (kgdb to a terminal server on tcp port 2012):253 </para>254 <programlisting>255 % gdb ./vmlinux256+ (gdb) target remote 192.168.2.2:20120000000257 </programlisting>258 <para>259 Once connected, you can debug a kernel the way you would debug an