summaryrefslogtreecommitdiff
path: root/Documentation/dev-tools/gdb-kernel-debugging.rst
Commit message (Collapse)AuthorAgeFilesLines
* docs: disable KASLR when debugging kernelZhouyi Zhou2017-07-171-2/+4
| | | | | | | | | | | | 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>
* docs: Sphinxify gdb-kernel-debugging.txt and move to dev-toolsJonathan Corbet2016-08-181-0/+173
Acked-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>