Kbuild: Add a option to enable dwarf4 v2
authorAndi Kleen <ak@linux.intel.com>
Wed, 30 Jul 2014 18:50:19 +0000 (20:50 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 30 Jul 2014 20:56:04 +0000 (22:56 +0200)
commitbfaf2dd3509bc73bf4a4cea0e72472755ed860e2
treee7ceb98352696ee3aa373a7559227a361983f31c
parent866ced950bcd54820c3e571229356adc2b2dd72e
Kbuild: Add a option to enable dwarf4 v2

I found that a lot of unresolvable variables when using gdb on the
kernel become resolvable when dwarf4 is enabled. So add a Kconfig flag
to enable it.

It definitely increases the debug information size, but on the other
hand this isn't so bad when debug fusion is used.

v2: Use cc-option
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
lib/Kconfig.debug
This page took 0.023688 seconds and 5 git commands to generate.