[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240612145048.57829-1-dzm91@hust.edu.cn>
Date: Wed, 12 Jun 2024 22:50:45 +0800
From: Dongliang Mu <dzm91@...t.edu.cn>
To: Alex Shi <alexs@...nel.org>,
Yanteng Si <siyanteng@...ngson.cn>,
Jonathan Corbet <corbet@....net>,
Dongliang Mu <dzm91@...t.edu.cn>
Cc: linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging
Update to commit 6b219431037b ("docs/scripts/gdb: add necessary
make scripts_gdb step")
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”参数
--
2.34.1
Powered by blists - more mailing lists