docs: disable KASLR when debugging kernel
authorZhouyi Zhou <zhouzhouyi@gmail.com>
Fri, 7 Jul 2017 07:11:46 +0000 (15:11 +0800)
committerJonathan Corbet <corbet@lwn.net>
Mon, 17 Jul 2017 20:40:40 +0000 (14:40 -0600)
commit14994a9bb4f4f042da9f1195ec76677552801eee
treeb5dfe56aab9c56d36312a261cf8009f7a70649dc
parent4c0477899f2e4a865db070b0526987ca31e525b1
docs: disable KASLR when debugging kernel

commit 6807c84652b0 ("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: Zhouyi Zhou <zhouzhouyi@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/dev-tools/kgdb.rst