Merge tag 'wireless-drivers-for-davem-2015-03-10' of git://git.kernel.org/pub/scm...
[linux-drm-fsl-dcu.git] / lib / Kconfig.debug
index ecb3516f6546431b1daf17ec77967b3a84416b12..c5cefb3c009ce9cd51199dc5fef683d7bc9b1bdc 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