Linux Documentation
 help / color / mirror / Atom feed
* [PATCH v1] docs: kgdb: Fix stale source file paths
@ 2026-05-31 14:02 Costa Shulyupin
  2026-06-01 19:04 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Costa Shulyupin @ 2026-05-31 14:02 UTC (permalink / raw)
  To: Jason Wessel, Daniel Thompson, Douglas Anderson, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, kgdb-bugreport, workflows, linux-doc,
	linux-kernel
  Cc: Costa Shulyupin

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>
---
 Documentation/process/debugging/kgdb.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/process/debugging/kgdb.rst b/Documentation/process/debugging/kgdb.rst
index dd6a103073fa..c4d0a9121d52 100644
--- a/Documentation/process/debugging/kgdb.rst
+++ b/Documentation/process/debugging/kgdb.rst
@@ -696,7 +696,7 @@ The kernel debugger is organized into a number of components:
 
 1. The debug core
 
-   The debug core is found in ``kernel/debugger/debug_core.c``. It
+   The debug core is found in ``kernel/debug/debug_core.c``. It
    contains:
 
    -  A generic OS exception handler which includes sync'ing the
@@ -877,7 +877,7 @@ attached keyboard. The keyboard infrastructure is only compiled into the
 kernel when ``CONFIG_KDB_KEYBOARD=y`` is set in the kernel configuration.
 
 The core polled keyboard driver for PS/2 type keyboards is in
-``drivers/char/kdb_keyboard.c``. This driver is hooked into the debug core
+``kernel/debug/kdb/kdb_keyboard.c``. This driver is hooked into the debug core
 when kgdboc populates the callback in the array called
 :c:expr:`kdb_poll_funcs[]`. The kdb_get_kbd_char() is the top-level
 function which polls hardware for single character input.
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] docs: kgdb: Fix stale source file paths
  2026-05-31 14:02 [PATCH v1] docs: kgdb: Fix stale source file paths Costa Shulyupin
@ 2026-06-01 19:04 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2026-06-01 19:04 UTC (permalink / raw)
  To: Costa Shulyupin, Jason Wessel, Daniel Thompson, Douglas Anderson,
	Shuah Khan, Randy Dunlap, kgdb-bugreport, workflows, linux-doc,
	linux-kernel
  Cc: Costa Shulyupin

Costa Shulyupin <costa.shul@redhat.com> writes:

> 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

...which happened for 2.6.35 in 2009...

> Assisted-by: Claude:claude-opus-4-6
> Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
> ---
>  Documentation/process/debugging/kgdb.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-01 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-31 14:02 [PATCH v1] docs: kgdb: Fix stale source file paths Costa Shulyupin
2026-06-01 19:04 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox