$adb forward tcp:1234 tcp:1234
$<path>/arm-eabi-gdb <path>/symbols/system/bin/app_process32
(gdb)set solib-search-path <path to out>/symbols/system/lib:<path to out>/symbols/system/vendor/lib/
(gdb)set solib-absolute-prefix <path to out>/symbols/
(gdb) target remote :1234
(gdb) b <symbol> # set break point(gdb) b <address> # set break point(gdb) b <symbol> if <condition> # set conditional break point(gdb) i b # list break points(gdb) d <id> # delete break point with <id>(gdb) bt # print backtrace(gdb) s # step into(gdb) n # step over(gdb) c # continue
diff--gita/kernel/module.cb/kernel/module.cindex3b5a5d6..5b35c69100644---a/kernel/module.c+++b/kernel/module.c@@-2704,7+2704,6@@staticintcheck_modinfo(structmodule*mod,structload_info*info,intflags)}elseif(!same_magic(modmagic,vermagic,info->index.vers)){printk(KERN_ERR"%s: version magic '%s' should be '%s'\n",mod->name,modmagic,vermagic);-return-ENOEXEC;}if(!get_modinfo(info,"intree"))