aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/dev-tools/kgdb.rst
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2020-11-16 17:42:47 +0800
committerJonathan Corbet <corbet@lwn.net>2020-11-18 13:47:17 -0700
commitc12af30b6d7cac3edf95258b796c1a4427f99f81 (patch)
tree67e0bbb59dd204104917d1f1fc74fa0915a2cadb /Documentation/dev-tools/kgdb.rst
parentDocumentation: Chinese translation of Documentation/arm64/perf.rst (diff)
downloadlinux-dev-c12af30b6d7cac3edf95258b796c1a4427f99f81.tar.xz
linux-dev-c12af30b6d7cac3edf95258b796c1a4427f99f81.zip
Documentation: kgdb: Fix a typo
"to into" -> "into" Reported-by: Sergei Shtylyov <sergei.shtylyov@gmail.com> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Acked-by: Daniel Thompson <daniel.thompson@linaro.org> Link: https://lore.kernel.org/r/1605519767-25502-1-git-send-email-yangtiezhu@loongson.cn Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to '')
-rw-r--r--Documentation/dev-tools/kgdb.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/dev-tools/kgdb.rst b/Documentation/dev-tools/kgdb.rst
index 77b688e6a254..43456244651a 100644
--- a/Documentation/dev-tools/kgdb.rst
+++ b/Documentation/dev-tools/kgdb.rst
@@ -63,10 +63,9 @@ will want to turn on ``CONFIG_DEBUG_INFO`` which is called
It is advised, but not required, that you turn on the
``CONFIG_FRAME_POINTER`` kernel option which is called :menuselection:`Compile
the kernel with frame pointers` in the config menu. This option inserts code
-to into the compiled executable which saves the frame information in
-registers or on the stack at different points which allows a debugger
-such as gdb to more accurately construct stack back traces while
-debugging the kernel.
+into the compiled executable which saves the frame information in registers
+or on the stack at different points which allows a debugger such as gdb to
+more accurately construct stack back traces while debugging the kernel.
If the architecture that you are using supports the kernel option
``CONFIG_STRICT_KERNEL_RWX``, you should consider turning it off. This