Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Documentation: move dev-tools debugging files to process/debugging/

Move gdb and kgdb debugging documentation to the dedicated
debugging directory (Documentation/process/debugging/).
Adjust the index.rst files to follow the file movement.
Adjust files that refer to these moved files to follow the file movement.
Update location of kgdb.rst in MAINTAINERS file.
Add a link from dev-tools/index to process/debugging/index.

Note: translations are not updated.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Sebastian Fricke <sebastian.fricke@collabora.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: workflows@vger.kernel.org
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Daniel Thompson <danielt@kernel.org>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: linux-debuggers@vger.kernel.org
Cc: kgdb-bugreport@lists.sourceforge.net
Cc: Doug Anderson <dianders@chromium.org>
Cc: Alex Shi <alexs@kernel.org>
Cc: Hu Haowen <2023002089@link.tyut.edu.cn>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-serial@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Daniel Thompson <danielt@kernel.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20241210000041.305477-1-rdunlap@infradead.org

authored by

Randy Dunlap and committed by
Jonathan Corbet
d5af79c0 270beb5b

+11 -8
+2 -2
Documentation/admin-guide/README.rst
··· 356 356 357 357 Hints on understanding kernel bug reports are in 358 358 'Documentation/admin-guide/bug-hunting.rst'. More on debugging the kernel 359 - with gdb is in 'Documentation/dev-tools/gdb-kernel-debugging.rst' and 360 - 'Documentation/dev-tools/kgdb.rst'. 359 + with gdb is in 'Documentation/process/debugging/gdb-kernel-debugging.rst' and 360 + 'Documentation/process/debugging/kgdb.rst'.
Documentation/dev-tools/gdb-kernel-debugging.rst Documentation/process/debugging/gdb-kernel-debugging.rst
+3 -2
Documentation/dev-tools/index.rst
··· 10 10 A brief overview of testing-specific tools can be found in 11 11 Documentation/dev-tools/testing-overview.rst 12 12 13 + Tools that are specific to debugging can be found in 14 + Documentation/process/debugging/index.rst 15 + 13 16 .. toctree:: 14 17 :caption: Table of contents 15 18 :maxdepth: 2 ··· 30 27 kmemleak 31 28 kcsan 32 29 kfence 33 - gdb-kernel-debugging 34 - kgdb 35 30 kselftest 36 31 kunit/index 37 32 ktap
Documentation/dev-tools/kgdb.rst Documentation/process/debugging/kgdb.rst
+2
Documentation/process/debugging/index.rst
··· 11 11 :maxdepth: 1 12 12 13 13 driver_development_debugging_guide 14 + gdb-kernel-debugging 15 + kgdb 14 16 userspace_debugging_guide 15 17 16 18 .. only:: subproject and html
+1 -1
MAINTAINERS
··· 12811 12811 S: Maintained 12812 12812 W: http://kgdb.wiki.kernel.org/ 12813 12813 T: git git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb.git 12814 - F: Documentation/dev-tools/kgdb.rst 12814 + F: Documentation/process/debugging/kgdb.rst 12815 12815 F: drivers/misc/kgdbts.c 12816 12816 F: drivers/tty/serial/kgdboc.c 12817 12817 F: include/linux/kdb.h
+1 -1
include/linux/tty_driver.h
··· 320 320 * 321 321 * @poll_init: ``int ()(struct tty_driver *driver, int line, char *options)`` 322 322 * 323 - * kgdboc support (Documentation/dev-tools/kgdb.rst). This routine is 323 + * kgdboc support (Documentation/process/debugging/kgdb.rst). This routine is 324 324 * called to initialize the HW for later use by calling @poll_get_char or 325 325 * @poll_put_char. 326 326 *
+1 -1
lib/Kconfig.debug
··· 433 433 build directory. If you load vmlinux into gdb, the helper 434 434 scripts will be automatically imported by gdb as well, and 435 435 additional functions are available to analyze a Linux kernel 436 - instance. See Documentation/dev-tools/gdb-kernel-debugging.rst 436 + instance. See Documentation/process/debugging/gdb-kernel-debugging.rst 437 437 for further details. 438 438 439 439 endif # DEBUG_INFO
+1 -1
lib/Kconfig.kgdb
··· 19 19 CONFIG_FRAME_POINTER to aid in producing more reliable stack 20 20 backtraces in the external debugger. Documentation of 21 21 kernel debugger is available at http://kgdb.sourceforge.net 22 - as well as in Documentation/dev-tools/kgdb.rst. If 22 + as well as in Documentation/process/debugging/kgdb.rst. If 23 23 unsure, say N. 24 24 25 25 if KGDB