Re: Why kernel make obj file with debug info ?

From: Dave Jones
Date: Wed Dec 31 2008 - 01:00:28 EST


On Wed, Dec 31, 2008 at 01:30:32PM +0800, pl ice wrote:
> Hi ,
> I found kernel use Kbuild to make obj-file,and I objdumped
> these obj file and found they all had section .debug. I think they
> will make building kernel use much more time.why these
> obj file compile to debug version?

Because you have CONFIG_DEBUG_INFO set.

Dave

--
http://www.codemonkey.org.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/