[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51a1a35d-631a-4576-bead-31d826bf2c75@gmail.com>
Date: Thu, 13 Jun 2024 09:01:34 +0800
From: Alex Shi <seakeel@...il.com>
To: Dongliang Mu <dzm91@...t.edu.cn>, Alex Shi <alexs@...nel.org>,
Yanteng Si <siyanteng@...ngson.cn>, Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] docs/zh_CN: Update the translation of
dev-tools/gdb-kernel-debugging
On 6/12/24 10:50 PM, Dongliang Mu wrote:
> Update to commit 6b219431037b ("docs/scripts/gdb: add necessary
> make scripts_gdb step")
>
Reviewed-by: Alex Shi <alexs@...nel.org>
> Signed-off-by: Dongliang Mu <dzm91@...t.edu.cn>
> ---
> .../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
> +
> - 启用QEMU/KVM的gdb stub,可以通过如下方式实现
>
> - 在VM启动时,通过在QEMU命令行中添加“-s”参数
Powered by blists - more mailing lists