diff options
author | Dongliang Mu <dzm91@hust.edu.cn> | 2024-06-12 16:50:45 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2024-06-18 00:39:20 +0200 |
commit | 4280517ebe15a52463966ae286e3219ffa32a2f8 (patch) | |
tree | 857b55588f83e9a5c0699b1720547d80550c8b2e /Documentation/translations | |
parent | Documentation/x86: Switch to new Intel CPU model defines (diff) | |
download | linux-4280517ebe15a52463966ae286e3219ffa32a2f8.tar.xz linux-4280517ebe15a52463966ae286e3219ffa32a2f8.zip |
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@hust.edu.cn>
Reviewed-by: Alex Shi <alexs@kernel.org>
[jc: fixed whitespace error]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240612145048.57829-1-dzm91@hust.edu.cn
Diffstat (limited to 'Documentation/translations')
-rw-r--r-- | Documentation/translations/zh_CN/dev-tools/gdb-kernel-debugging.rst | 4 |
1 files changed, 4 insertions, 0 deletions
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..3c133a918f30 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”参数 |