* [PATCH] docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging
@ 2024-06-12 14:50 Dongliang Mu
2024-06-13 1:01 ` Alex Shi
2024-06-17 22:40 ` Jonathan Corbet
0 siblings, 2 replies; 3+ messages in thread
From: Dongliang Mu @ 2024-06-12 14:50 UTC (permalink / raw)
To: Alex Shi, Yanteng Si, Jonathan Corbet, Dongliang Mu
Cc: linux-doc, linux-kernel
Update to commit 6b219431037b ("docs/scripts/gdb: add necessary
make scripts_gdb step")
Signed-off-by: Dongliang Mu <dzm91@hust.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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging
2024-06-12 14:50 [PATCH] docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging Dongliang Mu
@ 2024-06-13 1:01 ` Alex Shi
2024-06-17 22:40 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Alex Shi @ 2024-06-13 1:01 UTC (permalink / raw)
To: Dongliang Mu, Alex Shi, Yanteng Si, Jonathan Corbet
Cc: linux-doc, linux-kernel
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@kernel.org>
> Signed-off-by: Dongliang Mu <dzm91@hust.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”参数
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging
2024-06-12 14:50 [PATCH] docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging Dongliang Mu
2024-06-13 1:01 ` Alex Shi
@ 2024-06-17 22:40 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2024-06-17 22:40 UTC (permalink / raw)
To: Dongliang Mu, Alex Shi, Yanteng Si, Dongliang Mu; +Cc: linux-doc, linux-kernel
Dongliang Mu <dzm91@hust.edu.cn> writes:
> Update to commit 6b219431037b ("docs/scripts/gdb: add necessary
> make scripts_gdb step")
>
> Signed-off-by: Dongliang Mu <dzm91@hust.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
> +
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-17 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-12 14:50 [PATCH] docs/zh_CN: Update the translation of dev-tools/gdb-kernel-debugging Dongliang Mu
2024-06-13 1:01 ` Alex Shi
2024-06-17 22:40 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®