diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 25c3ed594c54..2af5d84ec824 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -595,6 +595,19 @@ config DEBUG_INFO | |||
595 | 595 | ||
596 | If unsure, say N. | 596 | If unsure, say N. |
597 | 597 | ||
598 | config DEBUG_INFO_REDUCED | ||
599 | bool "Reduce debugging information" | ||
600 | depends on DEBUG_INFO | ||
601 | help | ||
602 | If you say Y here gcc is instructed to generate less debugging | ||
603 | information for structure types. This means that tools that | ||
604 | need full debugging information (like kgdb or systemtap) won't | ||
605 | be happy. But if you merely need debugging information to | ||
606 | resolve line numbers there is no loss. Advantage is that | ||
607 | build directory object sizes shrink dramatically over a full | ||
608 | DEBUG_INFO build and compile times are reduced too. | ||
609 | Only works with newer gcc versions. | ||
610 | |||
598 | config DEBUG_VM | 611 | config DEBUG_VM |
599 | bool "Debug VM" | 612 | bool "Debug VM" |
600 | depends on DEBUG_KERNEL | 613 | depends on DEBUG_KERNEL |