Skip to contentSkip to conversation

clarify CONFIG_DEBUG_INFO help text

PATCH In review Andreas Dilger 2 participants 2 messages Mar 27, 2007 – Mar 28, 2007 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clarify CONFIG_DEBUG_INFO help text

The following patch adds some extra clarification to the CONFIG_DEBUG_INFO Kconfig help text. The current text is mostly a recursive definition and doesn't really say much of anything. When I first read this I thought it was going to enable extra verbosity in debug messages or something, but it is only enabling the "gcc -g" compile option in the Makefile.

lib/Kconfig.debug renamed from lib/Kconfig.debug.orig +3 -0
@@ -322,6 +322,9 @@
 	help
           If you say Y here the resulting kernel image will include
 	  debugging info resulting in a larger kernel image.
+	  This adds debug symbols to the kernel and modules (gcc -g), and
+	  is needed if you intend to use kernel crashdump or binary object
+	  tools like crash, kgdb, LKCD, gdb, etc on the kernel.
 	  Say Y here only if you plan to debug the kernel.
 
 	  If unsure, say N.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

#1 lore raw
Quoted 7 lines · Andreas Dilger

The following patch adds some extra clarification to the CONFIG_DEBUG_INFO Kconfig help text. The current text is mostly a recursive definition and doesn't really say much of anything. When I first read this I thought it was going to enable extra verbosity in debug messages or something, but it is only enabling the "gcc -g" compile option in the Makefile.

Thanks, I have added this to kbuild.git

Sam