Re: [PATCH] docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging
From: Jonathan Corbet
Date: Mon Jun 17 2024 - 18:40:50 EST
Dongliang Mu <dzm91@xxxxxxxxxxx> writes:
> Update to commit 6b219431037b ("docs/scripts/gdb: add necessary
> make scripts_gdb step")
>
> Signed-off-by: Dongliang Mu <dzm91@xxxxxxxxxxx>
> ---
> .../translations/zh_CN/dev-tools/gdb-kernel-debugging.rst | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/translations/zh_CN/dev-tools/gdb-kernel-debugging.rst b/Documentation/translations/zh_CN/dev-tools/gdb-kernel-debugging.rst
> index 17b5ce85a90c..94c15c258726 100644
> --- a/Documentation/translations/zh_CN/dev-tools/gdb-kernel-debugging.rst
> +++ b/Documentation/translations/zh_CN/dev-tools/gdb-kernel-debugging.rst
> @@ -34,6 +34,10 @@ Kgdb内核调试器、QEMU等虚拟机管理程序或基于JTAG的硬件接口
> 但这通常仅在不依赖内核模块时才有效。有关此模式的更多详细信息,请参阅QEMU文档。
> 在这种情况下,如果架构支持KASLR,应该在禁用CONFIG_RANDOMIZE_BASE的情况下构建内核。
>
> +- 构建gdb脚本(适用于内核v5.1版本及以上)
> +
> + make scripts_gdb
> +
This one gave me the following error:
Applying: docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging
.git/rebase-apply/patch:15: trailing whitespace.
make scripts_gdb
warning: 1 line adds whitespace errors.
I fixed it this time, but please try to avoid adding this kind of
warning in the future.
Thanks,
jon