Kernel Debugging with QEMU: Difference between revisions

imported>Mic92
update kernel hacking guide
imported>Mic92
hint for clangd
Line 200: Line 200:
$ python ./scripts/clang-tools/gen_compile_commands.py  
$ python ./scripts/clang-tools/gen_compile_commands.py  
</syntaxhighlight>
</syntaxhighlight>
This can be used for example in combination with clangd, which scales well to size of the linux kernel.


== Debugging drivers ==
== Debugging drivers ==