Skip to content

Commit ef4c0f7

Browse files
makelinuxJonathan Corbet
authored andcommitted
docs: kgdb: Fix stale source file paths
Update two file paths that became stale when kgdb/kdb sources were reorganized: - kernel/debugger/debug_core.c -> kernel/debug/debug_core.c - drivers/char/kdb_keyboard.c -> kernel/debug/kdb/kdb_keyboard.c Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Costa Shulyupin <costa.shul@redhat.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260531140207.4114764-1-costa.shul@redhat.com>
1 parent 11d309f commit ef4c0f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/process/debugging/kgdb.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ The kernel debugger is organized into a number of components:
696696

697697
1. The debug core
698698

699-
The debug core is found in ``kernel/debugger/debug_core.c``. It
699+
The debug core is found in ``kernel/debug/debug_core.c``. It
700700
contains:
701701

702702
- A generic OS exception handler which includes sync'ing the
@@ -877,7 +877,7 @@ attached keyboard. The keyboard infrastructure is only compiled into the
877877
kernel when ``CONFIG_KDB_KEYBOARD=y`` is set in the kernel configuration.
878878

879879
The core polled keyboard driver for PS/2 type keyboards is in
880-
``drivers/char/kdb_keyboard.c``. This driver is hooked into the debug core
880+
``kernel/debug/kdb/kdb_keyboard.c``. This driver is hooked into the debug core
881881
when kgdboc populates the callback in the array called
882882
:c:expr:`kdb_poll_funcs[]`. The kdb_get_kbd_char() is the top-level
883883
function which polls hardware for single character input.

0 commit comments

Comments
 (0)