OSDN Git Service

docs/scripts/gdb: add necessary make scripts_gdb step
authorJakob Koschel <jkl820.git@gmail.com>
Thu, 19 Jan 2023 23:23:20 +0000 (00:23 +0100)
committerJonathan Corbet <corbet@lwn.net>
Thu, 26 Jan 2023 18:21:05 +0000 (11:21 -0700)
commit6b219431037bf98c9efd49716aea9b68440477a3
tree31af20dee3fca3f0b41f0851b1c271b8d6f516c6
parent835205f61f84b61de4e475f09802ad1cc0f87d49
docs/scripts/gdb: add necessary make scripts_gdb step

In order to debug the kernel successfully with gdb you need to run
'make scripts_gdb' nowadays.

This was changed with the following commit:

Commit 67274c083438340ad16c ("scripts/gdb: delay generation of gdb
constants.py")

In order to have a complete guide for beginners this remark
should be added to the offial documentation.

Signed-off-by: Jakob Koschel <jkl820.git@gmail.com>
Link: https://lore.kernel.org/r/20230112-documentation-gdb-v2-1-292785c43dc9@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/dev-tools/gdb-kernel-debugging.rst