@@ -75,11 +75,11 @@ supports it for the architecture you are using, you can use hardware
75
75
breakpoints if you desire to run with the ``CONFIG_STRICT_KERNEL_RWX ``
76
76
option turned on, else you need to turn off this option.
77
77
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
79
79
host and debugged target. Early boot debugging requires a KGDB I/O
80
80
driver that supports early debugging and the driver must be built into
81
81
the 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
83
83
section that describes the parameter kgdboc.
84
84
85
85
Here is an example set of ``.config `` symbols to enable or disable for kgdb::
@@ -201,8 +201,8 @@ Using loadable module or built-in
201
201
Configure kgdboc at runtime with sysfs
202
202
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
203
203
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:
206
206
207
207
1. Enable kgdboc on ttyS0::
208
208
@@ -374,10 +374,10 @@ default behavior is always set to 0.
374
374
Kernel parameter: ``nokaslr ``
375
375
-----------------------------
376
376
377
- If the architecture that you are using enable KASLR by default,
377
+ If the architecture that you are using enables KASLR by default,
378
378
you 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
381
381
of vmlinux.
382
382
383
383
Using kdb
@@ -631,8 +631,6 @@ automatically changes into kgdb mode.
631
631
632
632
kgdb
633
633
634
- Now disconnect your terminal program and connect gdb in its place
635
-
636
634
2. At the kdb prompt, disconnect the terminal program and connect gdb in
637
635
its place.
638
636
@@ -749,7 +747,7 @@ The kernel debugger is organized into a number of components:
749
747
helper functions in some of the other kernel components to make it
750
748
possible for kdb to examine and report information about the kernel
751
749
without taking locks that could cause a kernel deadlock. The kdb core
752
- contains implements the following functionality.
750
+ implements the following functionality.
753
751
754
752
- A simple shell
755
753
0 commit comments