@@ -75,11 +75,11 @@ supports it for the architecture you are using, you can use hardware
7575breakpoints if you desire to run with the ``CONFIG_STRICT_KERNEL_RWX ``
7676option turned on, else you need to turn off this option.
7777
78- Next you should choose one of more I/O drivers to interconnect debugging
78+ Next you should choose one or more I/O drivers to interconnect the debugging
7979host and debugged target. Early boot debugging requires a KGDB I/O
8080driver that supports early debugging and the driver must be built into
8181the kernel directly. Kgdb I/O driver configuration takes place via
82- kernel or module parameters which you can learn more about in the in the
82+ kernel or module parameters which you can learn more about in the
8383section that describes the parameter kgdboc.
8484
8585Here is an example set of ``.config `` symbols to enable or disable for kgdb::
@@ -201,8 +201,8 @@ Using loadable module or built-in
201201Configure kgdboc at runtime with sysfs
202202^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
203203
204- At run time you can enable or disable kgdboc by echoing a parameters
205- into the sysfs. Here are two examples:
204+ At run time you can enable or disable kgdboc by writing parameters
205+ into sysfs. Here are two examples:
206206
2072071. Enable kgdboc on ttyS0::
208208
@@ -374,10 +374,10 @@ default behavior is always set to 0.
374374Kernel parameter: ``nokaslr ``
375375-----------------------------
376376
377- If the architecture that you are using enable KASLR by default,
377+ If the architecture that you are using enables KASLR by default,
378378you should consider turning it off. KASLR randomizes the
379- virtual address where the kernel image is mapped and confuse
380- gdb which resolve kernel symbol address from symbol table
379+ virtual address where the kernel image is mapped and confuses
380+ gdb which resolves addresses of kernel symbols from the symbol table
381381of vmlinux.
382382
383383Using kdb
@@ -631,8 +631,6 @@ automatically changes into kgdb mode.
631631
632632 kgdb
633633
634- Now disconnect your terminal program and connect gdb in its place
635-
6366342. At the kdb prompt, disconnect the terminal program and connect gdb in
637635 its place.
638636
@@ -749,7 +747,7 @@ The kernel debugger is organized into a number of components:
749747 helper functions in some of the other kernel components to make it
750748 possible for kdb to examine and report information about the kernel
751749 without taking locks that could cause a kernel deadlock. The kdb core
752- contains implements the following functionality.
750+ implements the following functionality.
753751
754752 - A simple shell
755753
0 commit comments