commit | e604f1cb85367d2e5fd4cf253296d190996da81a | [log] [tgz] |
---|---|---|
author | Zhouyi Zhou <zhouzhouyi@gmail.com> | Fri Jul 07 16:51:45 2017 +0800 |
committer | Jonathan Corbet <corbet@lwn.net> | Mon Jul 17 14:49:01 2017 -0600 |
tree | c481484c5793fd6936f823054e3bb68e4795b51d | |
parent | 14994a9bb4f4f042da9f1195ec76677552801eee [diff] |
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> Reviewed-by: Kieran Bingham <kbingham@kernel.org> Acked-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>