Two working methods for module_init GDB step debugging!

Not perfect, but doable.
This commit is contained in:
Ciro Santilli
2018-04-15 10:55:59 +01:00
parent 3cc33a8fe8
commit ae780f6750
3 changed files with 128 additions and 8 deletions

3
rootfs_overlay/pr_debug.sh Executable file
View 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