Deepak Saxena wrote:

> What about adding text here so it is very clear to the end user that
> DEBUG_INFO is not enabled and they must do so to get full symbol
> debugging?

How's this?

Index: linux-2.6.18/lib/Kconfig.kgdb
===================================================================
--- linux-2.6.18.orig/lib/Kconfig.kgdb
+++ linux-2.6.18/lib/Kconfig.kgdb
@@ -1,7 +1,6 @@

 config WANT_EXTRA_DEBUG_INFORMATION
        bool
-       select DEBUG_INFO
        select UNWIND_INFO
        select FRAME_POINTER if X86 || SUPERH
        select STACK_UNWIND if X86
Index: linux-2.6.18/lib/Kconfig.debug
===================================================================
--- linux-2.6.18.orig/lib/Kconfig.debug
+++ linux-2.6.18/lib/Kconfig.debug
@@ -448,11 +448,15 @@ config DEBUG_BUGVERBOSE
 config DEBUG_INFO
        bool "Compile the kernel with debug info"
        depends on DEBUG_KERNEL
+       default WANT_EXTRA_DEBUG_INFORMATION
        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 debug the kernel.

+         This option is very strongly recommended when using kgdb.
+         If symbolic debugging is desired, this option is required.
+
          If unsure, say N.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to