mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
Two working methods for module_init GDB step debugging!
Not perfect, but doable.
This commit is contained in:
3
rootfs_overlay/pr_debug.sh
Executable file
3
rootfs_overlay/pr_debug.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo 8 > /proc/sys/kernel/printk
|
||||
echo 'file kernel/module.c +p' > /sys/kernel/debug/dynamic_debug/control
|
||||
Reference in New Issue
Block a user