Kernel Debugging: Difference between revisions

[unchecked revision][unchecked revision]
Line 57:
This is however rather tricky, since it requires additional hardware, and special support coded into your kernel. You might want to read the [http://web.archive.org/web/20070415113206/http://www.kernelhacking.org/docs/kernelhacking-HOWTO/indexs09.html kernel hacking how-to] and (at minimum) [http://sourceware.org/gdb/current/onlinedocs/gdb/Remote-Debugging.html#Remote-Debugging chapter 20 of the GDB manual], and chances are likely that your debugger will introduce even more bugs at first.
 
== Use gdbGDB with QEMU ==
 
You can run QEMU to listen for a "GDB connection" before it starts executing any code to debug it.
Anonymous user