]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:58 +0000 (09:33 +0100)
commit7ea396da9cc25b325bb72cd60b0c7cf6a5ed0f70
treeb59627b931593546efe331f8b6e7a412c9e9a6fe
parente31edf6a545a3b14d6fe2f423e1cbabd9f6050f8
docs/scripts/gdb: add necessary make scripts_gdb step

[ Upstream commit acf1b42c8387741f380ba82cb9a06324e8730a50 ]

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 10037881b623b540cca8 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/dev-tools/gdb-kernel-debugging.rst