The kernel debugger kgdb, hypervisors like QEMU or JTAG-based hardware interfaces allow to debug the Linux kernel and its modules during runtime using gdb. Gdb comes with a powerful scripting ...
Sometimes installing the debug packages for gtk and glib isn't quite enough. (For instance, if the artifacts from -O2 are driving you bonkers in gdb, you might want to rebuild with -O0.) Here's how to ...