docs: disable KASLR when debugging kernel
commit 6807c846 ("x86: Enable KASLR by default") enables KASLR by default on x86. While KASLR will confuse gdb which resolve kernel symbol address from symbol table of vmlinux. We should turn off KASLR for kernel debugging. Signed-off-by: NZhouyi Zhou <zhouzhouyi@gmail.com> Reviewed-by: NKieran Bingham <kbingham@kernel.org> Acked-by: NJan Kiszka <jan.kiszka@siemens.com> Signed-off-by: NJonathan Corbet <corbet@lwn.net>
Showing
想要评论请 注册 或 登录