@@ -316,7 +316,7 @@ driver as a loadable kernel module kgdbwait will not do anything.
316
316
Kernel parameter: ``kgdbcon ``
317
317
-----------------------------
318
318
319
- The ``kgdbcon `` feature allows you to see :c:func: ` printk ` messages inside gdb
319
+ The ``kgdbcon `` feature allows you to see printk() messages inside gdb
320
320
while gdb is connected to the kernel. Kdb does not make use of the kgdbcon
321
321
feature.
322
322
@@ -432,7 +432,7 @@ This is a quick example of how to use kdb.
432
432
``ps `` Displays only the active processes
433
433
``ps A `` Shows all the processes
434
434
``summary `` Shows kernel version info and memory usage
435
- ``bt `` Get a backtrace of the current process using :c:func: ` dump_stack `
435
+ ``bt `` Get a backtrace of the current process using dump_stack()
436
436
``dmesg `` View the kernel syslog buffer
437
437
``go `` Continue the system
438
438
=========== =================================================================
@@ -724,7 +724,7 @@ The kernel debugger is organized into a number of components:
724
724
The arch-specific portion implements:
725
725
726
726
- contains an arch-specific trap catcher which invokes
727
- :c:func: ` kgdb_handle_exception ` to start kgdb about doing its work
727
+ kgdb_handle_exception() to start kgdb about doing its work
728
728
729
729
- translation to and from gdb specific packet format to :c:type: `pt_regs `
730
730
@@ -769,7 +769,7 @@ The kernel debugger is organized into a number of components:
769
769
config. Later run ``modprobe kdb_hello `` and the next time you
770
770
enter the kdb shell, you can run the ``hello `` command.
771
771
772
- - The implementation for :c:func: ` kdb_printf ` which emits messages directly
772
+ - The implementation for kdb_printf() which emits messages directly
773
773
to I/O drivers, bypassing the kernel log.
774
774
775
775
- SW / HW breakpoint management for the kdb shell
@@ -875,7 +875,7 @@ kernel when ``CONFIG_KDB_KEYBOARD=y`` is set in the kernel configuration.
875
875
The core polled keyboard driver for PS/2 type keyboards is in
876
876
``drivers/char/kdb_keyboard.c ``. This driver is hooked into the debug core
877
877
when kgdboc populates the callback in the array called
878
- :c:type: `kdb_poll_funcs[] `. The :c:func: ` kdb_get_kbd_char ` is the top-level
878
+ :c:type: `kdb_poll_funcs[] `. The kdb_get_kbd_char() is the top-level
879
879
function which polls hardware for single character input.
880
880
881
881
kgdboc and kms
@@ -887,10 +887,10 @@ that you have a video driver which has a frame buffer console and atomic
887
887
kernel mode setting support.
888
888
889
889
Every time the kernel debugger is entered it calls
890
- :c:func: ` kgdboc_pre_exp_handler ` which in turn calls :c:func: ` con_debug_enter `
890
+ kgdboc_pre_exp_handler() which in turn calls con_debug_enter()
891
891
in the virtual console layer. On resuming kernel execution, the kernel
892
- debugger calls :c:func: ` kgdboc_post_exp_handler ` which in turn calls
893
- :c:func: ` con_debug_leave ` .
892
+ debugger calls kgdboc_post_exp_handler() which in turn calls
893
+ con_debug_leave() .
894
894
895
895
Any video driver that wants to be compatible with the kernel debugger
896
896
and the atomic kms callbacks must implement the ``mode_set_base_atomic ``,
0 commit comments