Trigger breakpoint: echo g > /proc/sysrq-trigger Module debugging: modprobe /root/debugmodule.sh Run output in gdb. Path to .ko file must match path where the modules are stored on the gdb CLIENT machine.