Skip to contentSkip to conversation

one DEBUG_INFO is enough for everyone

PATCH New Adrian Bunk 1 participant 1 message Mar 6, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 one DEBUG_INFO is enough for everyone

Why does everyone think one DEBUG_INFO wasn't enough?

---

 arch/arm/Kconfig.debug   |    9 ---------
 arch/arm26/Kconfig.debug |   10 ----------
 arch/i386/Kconfig.kgdb   |    5 -----
 arch/x86_64/Kconfig.kgdb |    5 -----
 lib/Kconfig.debug        |   15 ++-------------
 5 files changed, 2 insertions(+), 42 deletions(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug.old +2 -13
@@ -136,26 +136,15 @@
 config DEBUG_INFO
 	bool "Compile the kernel with debug info"
 	depends on DEBUG_KERNEL
 	help
           If you say Y here the resulting kernel image will include
 	  debugging info resulting in a larger kernel image.
-	  Say Y here only if you plan to use gdb to debug the kernel.
-	  If you don't debug the kernel, you can say N.
+	  Say Y here only if you plan to debug the kernel.
 
-config DEBUG_INFO
-	bool "Enable kernel debugging symbols"
-	depends on DEBUG_KERNEL && USERMODE
-	help
-	  When this is enabled, the User-Mode Linux binary will include
-	  debugging symbols.  This enlarges the binary by a few megabytes,
-	  but aids in tracking down kernel problems in UML.  It is required
-	  if you intend to do any kernel development.
-
-	  If you're truly short on disk space or don't expect to report any
-	  bugs back to the UML developers, say N, otherwise say Y.
+	  If unsure, say N.
 
 config DEBUG_IOREMAP
 	bool "Enable ioremap() debugging"
 	depends on DEBUG_KERNEL && PARISC
 	help
 	  Enabling this option will cause the kernel to distinguish between
arch/i386/Kconfig.kgdb renamed from arch/i386/Kconfig.kgdb.old +0 -5
@@ -61,17 +61,12 @@
 	default 4
 	help
 	  This is the irq for the debug port.  If everything is working
 	  correctly and the kernel has interrupts on a control C to the
 	  port should cause a break into the kernel debug stub.
 
-config DEBUG_INFO
-	bool
-	depends on KGDB
-	default y
-
 config KGDB_MORE
 	bool "Add any additional compile options"
 	depends on KGDB
 	default n
 	help
 	  Saying yes here turns on the ability to enter additional
arch/arm/Kconfig.debug renamed from arch/arm/Kconfig.debug.old +0 -9
@@ -44,21 +44,12 @@
 	  printed when the kernel detects an internal error. This debugging
 	  information is useful to kernel hackers when tracking down problems,
 	  but mostly meaningless to other people. It's safe to say Y unless
 	  you are concerned with the code size or don't want to see these
 	  messages.
 
-config DEBUG_INFO
-	bool "Include GDB debugging information in kernel binary"
-	help
-	  Say Y here to include source-level debugging information in the
-	  `vmlinux' binary image. This is handy if you want to use gdb or
-	  addr2line to debug the kernel. It has no impact on the in-memory
-	  footprint of the running kernel but it can increase the amount of
-	  time and disk space needed for compilation of the kernel. If in
-	  doubt say N.
 
 # These options are only for real kernel hackers who want to get their hands dirty.
 config DEBUG_LL
 	bool "Kernel low-level debugging functions"
 	depends on DEBUG_KERNEL
 	help
arch/arm26/Kconfig.debug renamed from arch/arm26/Kconfig.debug.old +0 -10
@@ -35,22 +35,12 @@
 	  printed when the kernel detects an internal error. This debugging
 	  information is useful to kernel hackers when tracking down problems,
 	  but mostly meaningless to other people. It's safe to say Y unless
 	  you are concerned with the code size or don't want to see these
 	  messages.
 
-config DEBUG_INFO
-	bool "Include GDB debugging information in kernel binary"
-	help
-	  Say Y here to include source-level debugging information in the
-	  `vmlinux' binary image. This is handy if you want to use gdb or
-	  addr2line to debug the kernel. It has no impact on the in-memory
-	  footprint of the running kernel but it can increase the amount of
-	  time and disk space needed for compilation of the kernel. If in
-	  doubt say N.
-
 # These options are only for real kernel hackers who want to get their hands dirty.
 config DEBUG_LL
 	bool "Kernel low-level debugging functions"
 	depends on DEBUG_KERNEL
 	help
 	  Say Y here to include definitions of printascii, printchar, printhex
arch/x86_64/Kconfig.kgdb renamed from arch/x86_64/Kconfig.kgdb.old +0 -5
@@ -62,17 +62,12 @@
 	default 4
 	help
 	  This is the irq for the debug port.  If everything is working
 	  correctly and the kernel has interrupts on a control C to the
 	  port should cause a break into the kernel debug stub.
 
-config DEBUG_INFO
-	bool
-	depends on KGDB
-	default y
-
 config KGDB_MORE
 	bool "Add any additional compile options"
 	depends on KGDB
 	default n
 	help
 	  Saying yes here turns on the ability to enter additional

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel