Re: [PATCH v2] docs/scripts/gdb: add necessary make scripts_gdb step

From: Jonathan Corbet
Date: Thu Jan 26 2023 - 13:21:52 EST


Jakob Koschel <jkl820.git@xxxxxxxxx> writes:

> 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@xxxxxxxxx>
> ---
> Changes in v2:
> - Add correct Signed-off-by
> - Link to v1: https://lore.kernel.org/r/20230112-documentation-gdb-v1-1-09ab556e9124@xxxxxxxxx
> ---
> Documentation/dev-tools/gdb-kernel-debugging.rst | 4 ++++
> 1 file changed, 4 insertions(+)

Applied, thanks.

jon