OSDN Git Service

Merge tag 'pinctrl-v4.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[android-x86/kernel.git] / lib / Kconfig.debug
index ecb3516..c5cefb3 100644 (file)
@@ -167,6 +167,17 @@ config DEBUG_INFO_DWARF4
          But it significantly improves the success of resolving
          variables in gdb on optimized code.
 
+config GDB_SCRIPTS
+       bool "Provide GDB scripts for kernel debugging"
+       depends on DEBUG_INFO
+       help
+         This creates the required links to GDB helper scripts in the
+         build directory. If you load vmlinux into gdb, the helper
+         scripts will be automatically imported by gdb as well, and
+         additional functions are available to analyze a Linux kernel
+         instance. See Documentation/gdb-kernel-debugging.txt for further
+         details.
+
 config ENABLE_WARN_DEPRECATED
        bool "Enable __deprecated logic"
        default y